fix timeline

This commit is contained in:
otofune 2017-11-06 15:45:21 +09:00
parent 28a39bccf9
commit 0ee6d65921

View file

@ -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))));
}); });