This commit is contained in:
syuilo 2018-10-22 03:34:56 +09:00
parent 29fc6de330
commit 0dc94547f5
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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);
} }
} }