From 7ab2293fe205de101d6d2da5511b376c06be7c14 Mon Sep 17 00:00:00 2001 From: greendevilll Date: Sat, 6 Jun 2026 23:49:41 +0700 Subject: [PATCH] fix(notifications): multiply duration days by 30 for admin log accuracy --- bot/handlers/client/buy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/handlers/client/buy.py b/bot/handlers/client/buy.py index df4c220..0210546 100644 --- a/bot/handlers/client/buy.py +++ b/bot/handlers/client/buy.py @@ -233,7 +233,7 @@ async def proceed_to_checkout( balance_before=deducted_user.balance + amount, balance_after=deducted_user.balance, devices=ctx.devices, - duration_days=convert_duration_to_int(ctx.duration), + duration_days=convert_duration_to_int(ctx.duration) * 30, whitelists=ctx.whitelists, credit=credit, )