From 0fc9843215038f4bfae60f7b68c0dc231dc27570 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 May 2021 14:29:09 +0200 Subject: [PATCH] Fix comment notification test --- shared/extra-utils/users/user-notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/extra-utils/users/user-notifications.ts b/shared/extra-utils/users/user-notifications.ts index 249e82925..844f4442d 100644 --- a/shared/extra-utils/users/user-notifications.ts +++ b/shared/extra-utils/users/user-notifications.ts @@ -431,7 +431,7 @@ async function checkNewCommentOnMyVideo (base: CheckerBaseParams, uuid: string, } } - const commentUrl = `http://localhost:${base.server.port}/videos/watch/${uuid};threadId=${threadId}` + const commentUrl = `http://localhost:${base.server.port}/w/${uuid};threadId=${threadId}` function emailNotificationFinder (email: object) { return email['text'].indexOf(commentUrl) !== -1