aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared/notifications.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-13 11:58:01 +0200
committerChocobozzz <me@florianbigard.com>2022-07-13 12:14:26 +0200
commitba2684ceddf9b76312635b9cddc6bf6975ce436a (patch)
treed7c9618b9a6f632029d809d8bf342adc26c85cc8 /server/tests/shared/notifications.ts
parente45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff)
downloadPeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip
Fix lint
Diffstat (limited to 'server/tests/shared/notifications.ts')
-rw-r--r--server/tests/shared/notifications.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/shared/notifications.ts b/server/tests/shared/notifications.ts
index 09bc8da03..ee15e2b09 100644
--- a/server/tests/shared/notifications.ts
+++ b/server/tests/shared/notifications.ts
@@ -780,7 +780,7 @@ async function checkNotification (options: CheckerBaseParams & {
780 const check = options.check || { web: true, mail: true } 780 const check = options.check || { web: true, mail: true }
781 781
782 if (check.web) { 782 if (check.web) {
783 const notification = await server.notifications.getLatest({ token: token }) 783 const notification = await server.notifications.getLatest({ token })
784 784
785 if (notification || checkType !== 'absence') { 785 if (notification || checkType !== 'absence') {
786 notificationChecker(notification, checkType) 786 notificationChecker(notification, checkType)