lint: fix missing comma

This commit is contained in:
Barış Soner Uşaklı
2025-04-11 19:58:48 -04:00
parent 46ed56cf96
commit d59a5728df

View File

@@ -59,7 +59,7 @@ module.exports = function (User) {
}
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([
User.setUserField(uid, 'followingCount', followingCount + followingRemoteCount),