fix timeline
This commit is contained in:
parent
28a39bccf9
commit
0ee6d65921
|
@ -92,5 +92,5 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Serialize
|
// Serialize
|
||||||
res(Promise.all(timeline.map(post => serialize(post, user))));
|
res(await Promise.all(timeline.map(post => serialize(post, user))));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue