Fix bug
This commit is contained in:
parent
5e967e24ff
commit
761ae807db
|
@ -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));
|
||||
});
|
||||
|
|
|
@ -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));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue