dev@locazia: make response instant

This commit is contained in:
user 2024-03-08 03:31:04 +03:00
parent a41aa9895c
commit ee5079c062
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ async def s_api_v1_blockchain_send_new_content_message(request):
) )
i += 1 i += 1
await ton_connect._sdk_client.send_transaction({ request.app.add_task(ton_connect._sdk_client.send_transaction({
'valid_until': int(datetime.now().timestamp() + 120), 'valid_until': int(datetime.now().timestamp() + 120),
'messages': [ 'messages': [
{ {
@ -131,7 +131,7 @@ async def s_api_v1_blockchain_send_new_content_message(request):
).decode() ).decode()
} }
] ]
}) }))
return response.json({"message": "Transaction requested"}) return response.json({"message": "Transaction requested"})
except BaseException as e: except BaseException as e: