Skip to content

Conversation

@shoom3301
Copy link
Contributor

We need a method to check if a given blockchain account already subscribed to the Telegram account.
We already have this check in addSubscription, just moved it to a separate method in order to call the check before adding subscription.

Copy link

@cowdan cowdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@anxolin anxolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: In this line const result = crypto.createHmac('sha256', new Buffer(secretHash, 'base64')).update(dataString).digest('hex'), I think buffer is deprecated

image

@anxolin anxolin merged commit 20a1120 into main Apr 24, 2025
3 checks passed
@alfetopito alfetopito deleted the feat/check-tg-subscription branch April 24, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants