mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
remove spurious .then()
This commit is contained in:
parent
6379deb5a7
commit
02748edd17
1 changed files with 1 additions and 2 deletions
|
@ -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)) })
|
||||||
|
|
Loading…
Reference in a new issue