Skip to content

Commit 8bb246a

Browse files
committed
fix: lint
1 parent c25a010 commit 8bb246a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/utils/helpers.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,13 @@ export const validateAndConstructUrl = (domain: string): URL => {
208208
};
209209

210210
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 };
211+
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+
};
212218
};
213219

214220
export function isMobileOrTablet(): boolean {

0 commit comments

Comments
 (0)