remove bot-tonconnect, fix auth last_use

This commit is contained in:
user committed 2024-09-15 22:44:17 +03:00
1 parent c4c373809a
commit e927ea2b6d
4 files changed
+10 -9

No files matched your search

+3
View File
@@ -99,6 +99,9 @@ async def s_api_v1_auth_twa(request):
)
))).scalars().first()
known_user.last_use = datetime.now()
request.ctx.db_session.commit()
return response.json({
'user': known_user.json_format(),
'connected_wallet': ton_connection.json_format() if ton_connection else None,