diff --git a/handlers/notifications.py b/handlers/notifications.py index 42e11761..8f8ec473 100644 --- a/handlers/notifications.py +++ b/handlers/notifications.py @@ -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(