1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 05:05:54 +02:00

Fix Attempts to update all notifications (#8974)

* Fix massive update notification parameters

* CHANGELOG

* CHANGELOG
This commit is contained in:
MeiMei
2022-07-09 18:18:39 +09:00
committed by GitHub
parent 75d516011b
commit 53e54c22fa
2 changed files with 2 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ export async function readNotificationByQuery(
userId: User['id'],
query: Record<string, any>
) {
const notificationIds = await Notifications.find({
const notificationIds = await Notifications.findBy({
...query,
notifieeId: userId,
isRead: false,