aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/abuse
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/abuse')
-rw-r--r--server/models/abuse/abuse.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/abuse/abuse.ts b/server/models/abuse/abuse.ts
index 4344df006..f85f48e86 100644
--- a/server/models/abuse/abuse.ts
+++ b/server/models/abuse/abuse.ts
@@ -563,6 +563,7 @@ export class AbuseModel extends Model<Partial<AttributesOnly<AbuseModel>>> {
563 return { 563 return {
564 type: 'Flag' as 'Flag', 564 type: 'Flag' as 'Flag',
565 content: this.reason, 565 content: this.reason,
566 mediaType: 'text/markdown',
566 object, 567 object,
567 tag: predefinedReasons.map(r => ({ 568 tag: predefinedReasons.map(r => ({
568 type: 'Hashtag' as 'Hashtag', 569 type: 'Hashtag' as 'Hashtag',