From 2f0b872264bfa55e6ed1dedd4748f7df5ab4988f Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Thu, 24 Apr 2025 16:44:29 +0800 Subject: [PATCH] Update ip-blacklist.service.ts --- packages/backend/src/services/ip-blacklist.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,