remove spurious .then()

This commit is contained in:
dakkar 2024-08-06 11:03:09 +01:00
parent 6379deb5a7
commit 02748edd17

View file

@ -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)) })