mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
lint: fix missing comma
This commit is contained in:
@@ -59,7 +59,7 @@ module.exports = function (User) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const [followingCount, followingRemoteCount, followerCount, followerRemoteCount] = await db.sortedSetsCard([
|
const [followingCount, followingRemoteCount, followerCount, followerRemoteCount] = await db.sortedSetsCard([
|
||||||
`following:${uid}`, `followingRemote:${uid}`, `followers:${theiruid}`, `followersRemote:${theiruid}`
|
`following:${uid}`, `followingRemote:${uid}`, `followers:${theiruid}`, `followersRemote:${theiruid}`,
|
||||||
]);
|
]);
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
User.setUserField(uid, 'followingCount', followingCount + followingRemoteCount),
|
User.setUserField(uid, 'followingCount', followingCount + followingRemoteCount),
|
||||||
|
|||||||
Reference in New Issue
Block a user