1
0
forked from mirror/misskey
This commit is contained in:
tamaina 2021-09-04 21:44:23 +09:00
parent a88e6871ee
commit 296da10199

View File

@ -18,7 +18,7 @@ export async function readNotification(
}); });
if (!await Users.getHasUnreadNotification(userId)) return postReadAllNotifications(userId); if (!await Users.getHasUnreadNotification(userId)) return postReadAllNotifications(userId);
else return postReadNotifications(userId, notificationIds) else return postReadNotifications(userId, notificationIds);
} }
export async function readNotificationByQuery( export async function readNotificationByQuery(