dev add notification entity
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-04-03 15:42:45 +07:00
parent a9eda37aad
commit 283f0b9e6f
@@ -166,9 +166,9 @@ public class PaymentService {
referralService.onUserAccountRefill(payment.getUser().getId(), intPrice);
long inviterIdForUser = referralRepo.getInviterIdForUser(payment.getUser().getId());
// long inviterIdForUser = referralRepo.getInviterIdForUser(payment.getUser().getId());
notificationService.addNotification(NotificationType.REFERRAL_ACTIVATED, inviterIdForUser);
// notificationService.addNotification(NotificationType.REFERRAL_ACTIVATED, inviterIdForUser);
} else if ("payment.canceled".equals(eventType)) {
payment.setStatus(PaymentStatus.CANCELED);