fix timeline

This commit is contained in:
otofune 2017-11-06 15:45:21 +09:00
parent 650eab96e7
commit cd12c7fced

View File

@ -92,5 +92,5 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
});
// Serialize
res(Promise.all(timeline.map(post => serialize(post, user))));
res(await Promise.all(timeline.map(post => serialize(post, user))));
});