1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-21 12:59:24 -05:00
This commit is contained in:
syuilo 2018-09-13 01:50:21 +09:00
parent aa1817737e
commit e1a946ab45
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions
src/server/api/endpoints/following

View file

@ -57,7 +57,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
}
// Create following
create(follower, followee);
await create(follower, followee);
// Send response
res(await pack(followee._id, user));

View file

@ -57,7 +57,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
}
// Delete following
deleteFollowing(follower, followee);
await deleteFollowing(follower, followee);
// Send response
res(await pack(followee._id, user));