Skip to content

Commit

Permalink
check webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Sep 1, 2024
1 parent f4b91f2 commit 9c9448b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nostr/user.contoller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export class userController {
const secret = 'wsec_w6OdXuLKGCPW9n4qORK8Yq6TwjnIv/+L'; //just for test

const requestBody = JSON.stringify(body);

console.log('request body:', requestBody)

const isValid = this.verifySignature(secret, signature, webhookId, timestamp, requestBody);

Expand Down

0 comments on commit 9c9448b

Please sign in to comment.