1
0
Fork 1
mirror of https://example.com synced 2024-11-24 06:36:40 +09:00

Fix #4519

This commit is contained in:
syuilo 2019-06-22 04:17:02 +09:00
parent 8409b59dea
commit 89f16668e6
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -22,7 +22,7 @@ export default async function(follower: User, followee: User, silent = false) {
return;
}
Followings.delete(following.id);
await Followings.delete(following.id);
//#region Decrement following count
Users.decrement({ id: follower.id }, 'followingCount', 1);