1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-21 18:49:24 -05:00
This commit is contained in:
syuilo 2024-10-05 18:29:02 +09:00
parent 057a6d731d
commit ddc799fe3d

View file

@ -129,6 +129,10 @@ export class AbuseReportService {
throw new Error('The target user host is null.');
}
if (report.forwarded) {
throw new Error('The report has already been forwarded.');
}
await this.abuseUserReportsRepository.update(report.id, {
forwarded: true,
});