aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/users/notifications.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-19 08:25:07 +0100
committerChocobozzz <me@florianbigard.com>2021-11-19 08:26:22 +0100
commit5d3c5f27977bf8d690a606c65a0f8ce11f4341ed (patch)
tree3ad1a5f5ea8d50d3bdbd248053d09cd343a3bf8d /shared/extra-utils/users/notifications.ts
parent4842e518be6fa3fc6f92e1e6475549ce9c173b74 (diff)
downloadPeerTube-5d3c5f27977bf8d690a606c65a0f8ce11f4341ed.tar.gz
PeerTube-5d3c5f27977bf8d690a606c65a0f8ce11f4341ed.tar.zst
PeerTube-5d3c5f27977bf8d690a606c65a0f8ce11f4341ed.zip
Fix typo
Diffstat (limited to 'shared/extra-utils/users/notifications.ts')
-rw-r--r--shared/extra-utils/users/notifications.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/users/notifications.ts b/shared/extra-utils/users/notifications.ts
index 7db4bfd3f..07ccb0f8d 100644
--- a/shared/extra-utils/users/notifications.ts
+++ b/shared/extra-utils/users/notifications.ts
@@ -727,7 +727,7 @@ async function checkNotification (options: CheckerBaseParams & {
727 const check = options.check || { web: true, mail: true } 727 const check = options.check || { web: true, mail: true }
728 728
729 if (check.web) { 729 if (check.web) {
730 const notification = await server.notifications.getLastest({ token: token }) 730 const notification = await server.notifications.getLatest({ token: token })
731 731
732 if (notification || checkType !== 'absence') { 732 if (notification || checkType !== 'absence') {
733 notificationChecker(notification, checkType) 733 notificationChecker(notification, checkType)