fix lint
This commit is contained in:
parent
0abe2dfee0
commit
c69b72e199
573 changed files with 3318 additions and 3318 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue