This commit is contained in:
syuilo 2018-03-28 19:09:13 +09:00
parent 64f6997910
commit 5d6ef4fa30
2 changed files with 3 additions and 3 deletions

View file

@ -39,6 +39,6 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
// Serialize
res(await Promise.all(favorites.map(async favorite =>
await pack(favorite.post)
await pack(favorite.postId)
)));
});