We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25a010 commit 8bb246aCopy full SHA for 8bb246a
src/utils/helpers.ts
@@ -208,7 +208,13 @@ export const validateAndConstructUrl = (domain: string): URL => {
208
};
209
210
export const objectToAuthDataMap = (tgAuthenticationResult: string) => {
211
- return JSON.parse(base64url.decode(tgAuthenticationResult)) as { first_name: string; last_name: string; photo_url: string; username: string; id: number };
+ return JSON.parse(base64url.decode(tgAuthenticationResult)) as {
212
+ first_name: string;
213
+ last_name: string;
214
+ photo_url: string;
215
+ username: string;
216
+ id: number;
217
+ };
218
219
220
export function isMobileOrTablet(): boolean {
0 commit comments