This commit is contained in:
Chocobozzz
2022-07-13 11:58:01 +02:00
parent e45dd87b93
commit ba2684cedd
44 changed files with 93 additions and 63 deletions

View 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)