fix renew

This commit is contained in:
Vladless
2024-11-26 17:30:41 +03:00
parent c189e88edf
commit d38a98cabd
+2 -2
View File
@@ -111,7 +111,7 @@ async def notify_10h_keys(
if not await is_bot_blocked(bot, tg_id) and not DEV_MODE:
try:
keyboard = InlineKeyboardBuilder()
keyboard.button(text="🔄 Продлить VPN", callback_data=f'renew_key|{record["client_id"]}')
keyboard.button(text="🔄 Продлить VPN", callback_data=f'renew_key|{email}')
keyboard.button(text="💳 Пополнить баланс", callback_data="pay")
keyboard.button(text="👤 Личный кабинет", callback_data="profile")
keyboard.adjust(1)
@@ -178,7 +178,7 @@ async def notify_24h_keys(
builder.row(
types.InlineKeyboardButton(
text="🔄 Продлить VPN",
callback_data=f'renew_key|{record["client_id"]}',
callback_data=f'renew_key|{email}',
)
)
builder.row(