diff --git a/app/api/routes/node_storage.py b/app/api/routes/node_storage.py index 73063cc..0381404 100644 --- a/app/api/routes/node_storage.py +++ b/app/api/routes/node_storage.py @@ -73,7 +73,7 @@ async def s_api_v1_storage_post(request): await file.write(file_content) new_content_id = new_content.cid - new_cid_v1 = new_content.serialize_v1() + new_cid_v1 = new_content_id.serialize_v1() new_cid = new_content_id.serialize_v2() return response.json({ diff --git a/app/bot/routers/tonconnect.py b/app/bot/routers/tonconnect.py index 2cd8eb2..1223010 100644 --- a/app/bot/routers/tonconnect.py +++ b/app/bot/routers/tonconnect.py @@ -85,7 +85,9 @@ async def t_callback_init_tonconnect(query: types.CallbackQuery, memory=None, us { 'text': user.translated('tonconnectOpenWallet_button'), 'url': connection_link - }, + } + ], + [ { 'text': user.translated('home_button'), 'callback_data': 'home' diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo b/locale/en/LC_MESSAGES/sanic_telegram_bot.mo deleted file mode 100644 index b496b38..0000000 Binary files a/locale/en/LC_MESSAGES/sanic_telegram_bot.mo and /dev/null differ diff --git a/locale/en/LC_MESSAGES/sanic_telegram_bot.po b/locale/en/LC_MESSAGES/sanic_telegram_bot.po index 28fdaba..b4340c0 100644 --- a/locale/en/LC_MESSAGES/sanic_telegram_bot.po +++ b/locale/en/LC_MESSAGES/sanic_telegram_bot.po @@ -65,9 +65,7 @@ msgstr "◀️ Back" #: app/bot/routers/tonconnect.py:80 msgid "tonconnectInit_menu" msgstr "" -"🔌 Connect wallet\n" -"\n" -"Press the button below to connect your wallet" +"🔌 Press the button below to connect your wallet" #: app/bot/routers/tonconnect.py:101 app/bot/routers/tonconnect.py:105 msgid "p_successConnectWallet"