fix .env.production

This commit is contained in:
xds
2025-10-31 19:25:39 +03:00
parent b9e7914313
commit 35a5ce5c09
2 changed files with 8 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ const telegramBtn = ref(null)
async function onTelegramAuth(user) {
console.log('TG login success', user)
alert(`Logged in as ${user.first_name} (@${user.username})`)
// alert(`Logged in as ${user.first_name} (@${user.username})`)
// 👉 здесь отправляешь user.auth_data на бэк для проверки Telegram-sign
await userStore.tgLogin(user.id, user.first_name, user.last_name, user.username, user.photo_url, user.auth_date, user.hash)
}