forked from mirrors/misskey
Fix bug
This commit is contained in:
@@ -92,11 +92,10 @@ module.exports = (params, user) =>
|
||||
|
||||
// Issue query
|
||||
const notifications = await Notification
|
||||
.find(query, {}, {
|
||||
.find(query, {
|
||||
limit: limit,
|
||||
sort: sort
|
||||
})
|
||||
.toArray();
|
||||
});
|
||||
|
||||
// Serialize
|
||||
res(await Promise.all(notifications.map(async notification =>
|
||||
|
||||
Reference in New Issue
Block a user