Skip to content

Commit

Permalink
Fix web app detection (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
brixzen authored Aug 3, 2024
1 parent b5c1403 commit 9f0a0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/AuthDataValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class AuthDataValidator {

const dataStr = this.getFinalDataStr(authData);

const isWebAppData = authData.has('user') && authData.has('query_id');
const isWebAppData = authData.has('user');

const signatureKey = await this.getSecretKey(isWebAppData);

Expand Down

0 comments on commit 9f0a0e7

Please sign in to comment.