mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:53:09 +02:00
Fix bug
This commit is contained in:
parent
5e967e24ff
commit
761ae807db
2 changed files with 2 additions and 2 deletions
|
@ -49,5 +49,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||||
create(follower, followee);
|
create(follower, followee);
|
||||||
|
|
||||||
// Send response
|
// 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);
|
deleteFollowing(follower, followee);
|
||||||
|
|
||||||
// Send response
|
// Send response
|
||||||
res(await pack(followee, user));
|
res(await pack(followee._id, user));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue