fix some errors

This commit is contained in:
user committed 2024-08-11 16:00:57 +03:00
1 parent 6f5082b860
commit 78bf9ffec8
2 files changed
+10 -3

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ async def s_api_v1_auth_twa(request):
make_log("auth", f"Invalid ton_proof: {e}", level="warning")
return response.json({"error": "Invalid ton_proof"}, status=400)
ton_connection = (await request.ctx.db_session.execute(select(WalletConnection).where(
ton_connection = (request.ctx.db_session.execute(select(WalletConnection).where(
and_(
WalletConnection.user_id == known_user.id,
WalletConnection.network == 'ton',