diff --git a/src/server/api/common/read-notification.ts b/src/server/api/common/read-notification.ts index 3270662908..176bbd4e46 100644 --- a/src/server/api/common/read-notification.ts +++ b/src/server/api/common/read-notification.ts @@ -18,7 +18,7 @@ export async function readNotification( }); if (!await Users.getHasUnreadNotification(userId)) return postReadAllNotifications(userId); - else return postReadNotifications(userId, notificationIds) + else return postReadNotifications(userId, notificationIds); } export async function readNotificationByQuery(