Fix bug
This commit is contained in:
parent
29fc6de330
commit
0dc94547f5
1 changed files with 2 additions and 2 deletions
|
@ -807,10 +807,10 @@ class FollowingStats extends Stats<FollowingLog> {
|
||||||
|
|
||||||
this.inc({
|
this.inc({
|
||||||
[isLocalUser(follower) ? 'local' : 'remote']: { followings: update }
|
[isLocalUser(follower) ? 'local' : 'remote']: { followings: update }
|
||||||
});
|
}, follower._id);
|
||||||
this.inc({
|
this.inc({
|
||||||
[isLocalUser(followee) ? 'local' : 'remote']: { followers: update }
|
[isLocalUser(followee) ? 'local' : 'remote']: { followers: update }
|
||||||
});
|
}, followee._id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue