mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 10:56:00 +02:00
wip
This commit is contained in:
@@ -5,7 +5,7 @@ import User, { ILocalUser } from '../../../../models/user';
|
||||
/**
|
||||
* Mark as read all notifications
|
||||
*/
|
||||
module.exports = (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
// Update documents
|
||||
await Notification.update({
|
||||
notifieeId: user._id,
|
||||
|
||||
Reference in New Issue
Block a user