Fix bug
This commit is contained in:
parent
29fc6de330
commit
0dc94547f5
|
@ -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 New Issue