diff --git a/packages/tests/src/shared/notifications.ts b/packages/tests/src/shared/notifications.ts index 99d034943..569d03fd4 100644 --- a/packages/tests/src/shared/notifications.ts +++ b/packages/tests/src/shared/notifications.ts @@ -661,7 +661,7 @@ async function checkVideoAutoBlacklistForModerators (options: CheckerBaseParams function emailNotificationFinder (email: object) { const text = email['text'] - return text.indexOf(shortUUID) !== -1 && email['text'].indexOf('moderation/video-blocklist') !== -1 + return text.indexOf(shortUUID) !== -1 && email['text'].indexOf('moderation/video-blocks/list') !== -1 } await checkNotification({ ...options, notificationChecker, emailNotificationFinder }) diff --git a/server/core/lib/notifier/shared/blacklist/new-auto-blacklist-for-moderators.ts b/server/core/lib/notifier/shared/blacklist/new-auto-blacklist-for-moderators.ts index 7c94a2cab..3d4285d25 100644 --- a/server/core/lib/notifier/shared/blacklist/new-auto-blacklist-for-moderators.ts +++ b/server/core/lib/notifier/shared/blacklist/new-auto-blacklist-for-moderators.ts @@ -43,7 +43,7 @@ export class NewAutoBlacklistForModerators extends AbstractNotification