Fix Attempts to update all notifications (#8974)
* Fix massive update notification parameters * CHANGELOG * CHANGELOG
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MeiMei
					MeiMei