Update ip-blacklist.service.ts

This commit is contained in:
Baobhan Sith
2025-04-24 16:44:29 +08:00
parent 53864cf00f
commit 2f0b872264
@@ -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,