Skip to content

Commit

Permalink
parse
Browse files Browse the repository at this point in the history
  • Loading branch information
overthestream committed Oct 5, 2024
1 parent 36454a9 commit 9c506b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domain/validation/validation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class ValidationService {
verifier.update(contentToVerify);
const result = verifier.verify(publicKey, signature, 'base64');
if (result) {
await this.pointService.giveAdPoint(parseInt(user_id));
await this.pointService.giveAdPoint(parseInt(String(user_id)));
}
throw new BadRequestException('Invalid signature');
}
Expand Down

0 comments on commit 9c506b2

Please sign in to comment.