This commit is contained in:
syuilo 2018-06-03 19:53:57 +09:00
parent 5e967e24ff
commit 761ae807db
2 changed files with 2 additions and 2 deletions

View File

@ -49,5 +49,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
create(follower, followee);
// Send response
res(await pack(followee, user));
res(await pack(followee._id, user));
});

View File

@ -49,5 +49,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
deleteFollowing(follower, followee);
// Send response
res(await pack(followee, user));
res(await pack(followee._id, user));
});