diff options
Diffstat (limited to 'packages/backend/src/core/AccountMoveService.ts')
| -rw-r--r-- | packages/backend/src/core/AccountMoveService.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/backend/src/core/AccountMoveService.ts b/packages/backend/src/core/AccountMoveService.ts index 6a7727c57a..3f2a19b771 100644 --- a/packages/backend/src/core/AccountMoveService.ts +++ b/packages/backend/src/core/AccountMoveService.ts @@ -72,17 +72,17 @@ export class AccountMoveService { where: { followeeId: src.id, followerHost: IsNull(), // follower is local - } + }, }); - followings.forEach(async (following) => { - if (!following.follower) return; + for (const following of followings) { + if (!following.follower) continue; try { await this.userFollowingService.follow(following.follower, dst); await this.userFollowingService.unfollow(following.follower, src); } catch { /* empty */ } - }); + } return iObj; } |