]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/shared/notifications.ts
Channel sync (#5135)
[github/Chocobozzz/PeerTube.git] / server / tests / shared / notifications.ts
index 09bc8da03ac88ca6d25fe60b5a8c8301cdde2560..ee15e2b098da2b2ac91ab4c59d06100173ca9400 100644 (file)
@@ -780,7 +780,7 @@ async function checkNotification (options: CheckerBaseParams & {
   const check = options.check || { web: true, mail: true }
 
   if (check.web) {
-    const notification = await server.notifications.getLatest({ token: token })
+    const notification = await server.notifications.getLatest({ token })
 
     if (notification || checkType !== 'absence') {
       notificationChecker(notification, checkType)