aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub/objects/abuse-object.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-13 14:12:29 +0100
committerChocobozzz <me@florianbigard.com>2022-01-13 14:16:32 +0100
commit3726c3725506d0f8a26ded34f42d7bcfb5d0e639 (patch)
tree1e4ce0d16a0ec4acf6f63ddb4aec6f6f143218d4 /shared/models/activitypub/objects/abuse-object.ts
parent696b45deb63bc9f36da9c9ee55c5d4a3a883b87e (diff)
downloadPeerTube-3726c3725506d0f8a26ded34f42d7bcfb5d0e639.tar.gz
PeerTube-3726c3725506d0f8a26ded34f42d7bcfb5d0e639.tar.zst
PeerTube-3726c3725506d0f8a26ded34f42d7bcfb5d0e639.zip
Add missing mediaType info to AP objects
Diffstat (limited to 'shared/models/activitypub/objects/abuse-object.ts')
-rw-r--r--shared/models/activitypub/objects/abuse-object.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/abuse-object.ts b/shared/models/activitypub/objects/abuse-object.ts
index ad45cc064..d938b8693 100644
--- a/shared/models/activitypub/objects/abuse-object.ts
+++ b/shared/models/activitypub/objects/abuse-object.ts
@@ -2,7 +2,10 @@ import { ActivityFlagReasonObject } from './common-objects'
2 2
3export interface AbuseObject { 3export interface AbuseObject {
4 type: 'Flag' 4 type: 'Flag'
5
5 content: string 6 content: string
7 mediaType: 'text/markdown'
8
6 object: string | string[] 9 object: string | string[]
7 10
8 tag?: ActivityFlagReasonObject[] 11 tag?: ActivityFlagReasonObject[]