diff --git a/packages/backend/src/core/AbuseReportService.ts b/packages/backend/src/core/AbuseReportService.ts index 05f11870a1..007c3f1bf9 100644 --- a/packages/backend/src/core/AbuseReportService.ts +++ b/packages/backend/src/core/AbuseReportService.ts @@ -98,9 +98,9 @@ export class AbuseReportService { const shouldForward = paramsMap.get(report.id)!.forward; if (shouldForward && report.targetUserHost != null) { - return targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId })); + targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId })); } else { - return targetUserMap.set(report.id, null); + targetUserMap.set(report.id, null); } }