mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 15:54:03 +00:00
fix(review): harden miniapp auth and finance flows
This commit is contained in:
@@ -77,7 +77,7 @@ export async function fetchMiniAppSession(initData: string): Promise<MiniAppSess
|
||||
}
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(payload.error)
|
||||
throw new Error(payload.error ?? 'Failed to create mini app session')
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user