mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-07 01:04:03 +09:00
fix lint
This commit is contained in:
@ -11,9 +11,9 @@ export async function readNotification(
|
||||
// Update documents
|
||||
await Notifications.update({
|
||||
id: In(notificationIds),
|
||||
isRead: false
|
||||
isRead: false,
|
||||
}, {
|
||||
isRead: true
|
||||
isRead: true,
|
||||
});
|
||||
|
||||
post(userId);
|
||||
@ -27,9 +27,9 @@ export async function readNotificationByQuery(
|
||||
await Notifications.update({
|
||||
...query,
|
||||
notifieeId: userId,
|
||||
isRead: false
|
||||
isRead: false,
|
||||
}, {
|
||||
isRead: true
|
||||
isRead: true,
|
||||
});
|
||||
|
||||
post(userId);
|
||||
|
Reference in New Issue
Block a user