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}")