diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-28 14:29:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-28 14:29:09 +0200 |
commit | 0fc9843215038f4bfae60f7b68c0dc231dc27570 (patch) | |
tree | 08e38468ac93874775cd80c4322c5c2a5ed5ffde /shared | |
parent | 1c5e49e75284100b7b1fc8b4e73c8ba53fe22e89 (diff) | |
download | PeerTube-0fc9843215038f4bfae60f7b68c0dc231dc27570.tar.gz PeerTube-0fc9843215038f4bfae60f7b68c0dc231dc27570.tar.zst PeerTube-0fc9843215038f4bfae60f7b68c0dc231dc27570.zip |
Fix comment notification test
Diffstat (limited to 'shared')
-rw-r--r-- | shared/extra-utils/users/user-notifications.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
431 | } | 431 | } |
432 | } | 432 | } |
433 | 433 | ||
434 | const commentUrl = `http://localhost:${base.server.port}/videos/watch/${uuid};threadId=${threadId}` | 434 | const commentUrl = `http://localhost:${base.server.port}/w/${uuid};threadId=${threadId}` |
435 | 435 | ||
436 | function emailNotificationFinder (email: object) { | 436 | function emailNotificationFinder (email: object) { |
437 | return email['text'].indexOf(commentUrl) !== -1 | 437 | return email['text'].indexOf(commentUrl) !== -1 |