X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fshared%2Fnotifications.ts;h=ee15e2b098da2b2ac91ab4c59d06100173ca9400;hb=2a491182e483b97afb1b65c908b23cb48d591807;hp=09bc8da03ac88ca6d25fe60b5a8c8301cdde2560;hpb=a220b84b0e29c7ce1b32166aec07870696a28ef9;p=github%2FChocobozzz%2FPeerTube.git 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 & { 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)