1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-06 15:44:11 +02:00

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

View File

@@ -59,7 +59,7 @@ export default async function(follower: { id: User['id']; host: User['host']; ur
export async function decrementFollowing(follower: { id: User['id']; host: User['host']; }, followee: { id: User['id']; host: User['host']; }) {
//#region Decrement following / followers counts
await Promises.all([
await Promise.all([
Users.decrement({ id: follower.id }, 'followingCount', 1),
Users.decrement({ id: followee.id }, 'followersCount', 1),
]);