Skip to content
Snippets Groups Projects
Commit 761ae807 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 5e967e24
No related branches found
No related tags found
No related merge requests found
......@@ -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));
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment