]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix comment notification test
authorChocobozzz <me@florianbigard.com>
Fri, 28 May 2021 12:29:09 +0000 (14:29 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 28 May 2021 12:29:09 +0000 (14:29 +0200)
shared/extra-utils/users/user-notifications.ts

index 249e82925c0c7a241c17af2c99fa79e697f67dda..844f4442dafbb81ae4765fed78642dbbbe16e541 100644 (file)
@@ -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