From: Chocobozzz Date: Fri, 28 May 2021 12:29:09 +0000 (+0200) Subject: Fix comment notification test X-Git-Tag: v3.3.0-rc.1~188 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0fc9843215038f4bfae60f7b68c0dc231dc27570;p=github%2FChocobozzz%2FPeerTube.git Fix comment notification test --- 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