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