diff --git a/packages/backend/src/services/ip-blacklist.service.ts b/packages/backend/src/services/ip-blacklist.service.ts index 2cbf98d..41c86ec 100644 --- a/packages/backend/src/services/ip-blacklist.service.ts +++ b/packages/backend/src/services/ip-blacklist.service.ts @@ -116,7 +116,7 @@ export class IpBlacklistService { if (shouldNotify && blockedUntil) { // Trigger notification after successful DB update - notificationService.sendNotification('IP_BLACKLISTED', { + notificationService.sendNotification('IP_BLOCKED', { ip: ip, attempts: newAttempts, duration: banDuration, @@ -143,7 +143,7 @@ export class IpBlacklistService { if (shouldNotify && blockedUntil) { // Trigger notification after successful DB insert - notificationService.sendNotification('IP_BLACKLISTED', { + notificationService.sendNotification('IP_BLOCKED', { ip: ip, attempts: attempts, duration: banDuration,