From f1cf23d50d3c69f1759462324be31c668d7944eb Mon Sep 17 00:00:00 2001 From: Yaroslav Grachev Date: Thu, 17 Oct 2024 10:30:52 +0300 Subject: [PATCH] Merge pull request #235 from novasamatech/fix/account_id 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 7cd44b6..1a13369 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, });