Merge branch 'main' into main

This commit is contained in:
Vladislav Lisitsyn
2024-11-24 21:54:30 +03:00
committed by GitHub
+4 -2
View File
@@ -54,8 +54,10 @@ async def process_callback_pay_cryptobot(callback_query: types.CallbackQuery, st
callback_data="enter_custom_amount_crypto",
)
)
builder.row(InlineKeyboardButton(text="⬅️ Назад", callback_data="back_to_profile"))
key_count = await get_key_count(callback_query.message.chat.id)
builder.row(InlineKeyboardButton(text="⬅️ Назад", callback_data="view_profile"))
key_count = await get_key_count(tg_id)
if key_count == 0:
exists = await check_connection_exists(callback_query.message.chat.id)
if not exists: