refactor(backend): remove unnecessary .then
This commit is contained in:
@@ -110,8 +110,7 @@ export class AbuseReportService {
|
||||
reportId: report.id,
|
||||
report: report,
|
||||
resolvedAs: ps.resolvedAs,
|
||||
})
|
||||
.then();
|
||||
});
|
||||
}
|
||||
|
||||
return this.abuseUserReportsRepository.findBy({ id: In(reports.map(it => it.id)) })
|
||||
@@ -148,8 +147,7 @@ export class AbuseReportService {
|
||||
.log(moderator, 'forwardAbuseReport', {
|
||||
reportId: report.id,
|
||||
report: report,
|
||||
})
|
||||
.then();
|
||||
});
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
Reference in New Issue
Block a user