Skip to content

Commit

Permalink
✏️ fix: typo (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
rustin01 authored Jul 30, 2024
1 parent 97de086 commit 5f8f36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wallet/src/utils/auth/providers/telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class TelegramAuthenticateProvider implements IAuthenticateProvider {
const userData: any = { ...data }
delete userData.hash
delete userData.auth_date
const queryValue = `user=${encodeURIComponent(JSON.stringify(userData))}&auth_data=${data.auth_date}&hash=${data.hash}`
const queryValue = `user=${encodeURIComponent(JSON.stringify(userData))}&auth_date=${data.auth_date}&hash=${data.hash}`
window.location.href = `${AUTH_SERVER_URL}?tgWebAppData=${encodeURIComponent(queryValue)}`
},
);
Expand Down

0 comments on commit 5f8f36d

Please sign in to comment.