diff --git a/src/server/api/common/read-notification.ts b/src/server/api/common/read-notification.ts index 77c775e837..089f90fdab 100644 --- a/src/server/api/common/read-notification.ts +++ b/src/server/api/common/read-notification.ts @@ -31,7 +31,7 @@ export async function readNotificationByQuery( isRead: false }).then(notifications => notifications.map(notification => notification.id)); - return readNotification(userId, notificationIds) + return readNotification(userId, notificationIds); } function postReadAllNotifications(userId: User['id']) {