1
0

fix: Promises -> Promise (#8545)

This commit is contained in:
Johann150
2022-04-25 08:14:13 +02:00
committed by GitHub
parent 3f9a914718
commit b9e3267198
3 changed files with 3 additions and 3 deletions
@@ -67,7 +67,7 @@ export async function insertFollowingDoc(followee: { id: User['id']; host: User[
if (alreadyFollowed) return;
//#region Increment counts
await Promises.all([
await Promise.all([
Users.increment({ id: follower.id }, 'followingCount', 1),
Users.increment({ id: followee.id }, 'followersCount', 1),
]);