From 02748edd17a2b200806757eba50492fc68c582c3 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 6 Aug 2024 11:03:09 +0100 Subject: [PATCH] remove spurious `.then()` --- packages/backend/src/core/AbuseReportService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/src/core/AbuseReportService.ts b/packages/backend/src/core/AbuseReportService.ts index ed10a4c5c6..05f11870a1 100644 --- a/packages/backend/src/core/AbuseReportService.ts +++ b/packages/backend/src/core/AbuseReportService.ts @@ -129,8 +129,7 @@ export class AbuseReportService { reportId: report.id, report: report, forwarded: ps.forward && report.targetUserHost !== null, - }) - .then(); + }); } return this.abuseUserReportsRepository.findBy({ id: In(reports.map(it => it.id)) })