From 2e1ee6bb283eb50f829bb6deb51552aed7e12b18 Mon Sep 17 00:00:00 2001 From: Egor Date: Sun, 7 Sep 2025 03:33:19 +0300 Subject: [PATCH] Update payment_service.py --- app/services/payment_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/payment_service.py b/app/services/payment_service.py index f1f0fcaa..5ca18581 100644 --- a/app/services/payment_service.py +++ b/app/services/payment_service.py @@ -108,7 +108,7 @@ class PaymentService: from app.services.admin_notification_service import AdminNotificationService notification_service = AdminNotificationService(self.bot) await notification_service.send_balance_topup_notification( - user, transaction, old_balance + db, user, transaction, old_balance ) except Exception as e: logger.error(f"Ошибка отправки уведомления о пополнении Stars: {e}") @@ -297,7 +297,7 @@ class PaymentService: from app.services.admin_notification_service import AdminNotificationService notification_service = AdminNotificationService(self.bot) await notification_service.send_balance_topup_notification( - user, transaction, old_balance + db, user, transaction, old_balance ) except Exception as e: logger.error(f"Ошибка отправки уведомления о пополнении YooKassa: {e}")