From 2b3f779b5ceef5575cb94c32c11c855da6399816 Mon Sep 17 00:00:00 2001 From: Stepan Lavrentev Date: Thu, 17 Oct 2024 10:18:25 +0300 Subject: [PATCH] fix: account id --- app/shared/api/telegram/bot-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/shared/api/telegram/bot-api.ts b/app/shared/api/telegram/bot-api.ts index 7cd44b64..1a133698 100644 --- a/app/shared/api/telegram/bot-api.ts +++ b/app/shared/api/telegram/bot-api.ts @@ -32,7 +32,7 @@ function getWalletCreationData(publicKey: PublicKey): string | null { if (!TelegramApi.initData || !TelegramApi.initDataUnsafe.user?.id) return null; return JSON.stringify({ - publicKey, + accountId: publicKey, userId: TelegramApi.initDataUnsafe.user.id, auth: TelegramApi.initData, });