Fix test
This commit is contained in:
parent
6b60a1d852
commit
ec9ff5e8c0
|
@ -661,7 +661,7 @@ async function checkVideoAutoBlacklistForModerators (options: CheckerBaseParams
|
||||||
|
|
||||||
function emailNotificationFinder (email: object) {
|
function emailNotificationFinder (email: object) {
|
||||||
const text = email['text']
|
const text = email['text']
|
||||||
return text.indexOf(shortUUID) !== -1 && email['text'].indexOf('video-auto-blacklist/list') !== -1
|
return text.indexOf(shortUUID) !== -1 && email['text'].indexOf('moderation/video-blocklist') !== -1
|
||||||
}
|
}
|
||||||
|
|
||||||
await checkNotification({ ...options, notificationChecker, emailNotificationFinder })
|
await checkNotification({ ...options, notificationChecker, emailNotificationFinder })
|
||||||
|
|
Loading…
Reference in New Issue