diff options
Diffstat (limited to 'server/tests/shared/notifications.ts')
-rw-r--r-- | server/tests/shared/notifications.ts | 2 |
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) |