remove spurious .then()
This commit is contained in:
@@ -129,8 +129,7 @@ export class AbuseReportService {
|
|||||||
reportId: report.id,
|
reportId: report.id,
|
||||||
report: report,
|
report: report,
|
||||||
forwarded: ps.forward && report.targetUserHost !== null,
|
forwarded: ps.forward && report.targetUserHost !== null,
|
||||||
})
|
});
|
||||||
.then();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.abuseUserReportsRepository.findBy({ id: In(reports.map(it => it.id)) })
|
return this.abuseUserReportsRepository.findBy({ id: In(reports.map(it => it.id)) })
|
||||||
|
|||||||
Reference in New Issue
Block a user