fix renew
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user