mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 20:06:06 +02:00
Fix bug
This commit is contained in:
@@ -65,11 +65,10 @@ module.exports = (params, user, app) =>
|
||||
|
||||
// Issue query
|
||||
const timeline = await Post
|
||||
.find(query, {}, {
|
||||
.find(query, {
|
||||
limit: limit,
|
||||
sort: sort
|
||||
})
|
||||
.toArray();
|
||||
});
|
||||
|
||||
// Serialize
|
||||
res(await Promise.all(timeline.map(async post =>
|
||||
|
||||
Reference in New Issue
Block a user