mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-26 16:03:02 +00:00
Fix #4519
This commit is contained in:
parent
8409b59dea
commit
89f16668e6
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export default async function(follower: User, followee: User, silent = false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Followings.delete(following.id);
|
await Followings.delete(following.id);
|
||||||
|
|
||||||
//#region Decrement following count
|
//#region Decrement following count
|
||||||
Users.decrement({ id: follower.id }, 'followingCount', 1);
|
Users.decrement({ id: follower.id }, 'followingCount', 1);
|
||||||
|
|
Loading…
Reference in a new issue