diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-05 16:18:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:18:00 +0200 |
commit | 7f7e9d4e904fed9233f84089e3b2ea60ab8740f7 (patch) | |
tree | 7407ae25a483e3e8b43443a6bbdceb067b5db8e5 /shared/models/activitypub/objects/video-comment-object.ts | |
parent | cefe22cf7c5286af1eb0e7a19937e741e2c2f58a (diff) | |
download | PeerTube-7f7e9d4e904fed9233f84089e3b2ea60ab8740f7.tar.gz PeerTube-7f7e9d4e904fed9233f84089e3b2ea60ab8740f7.tar.zst PeerTube-7f7e9d4e904fed9233f84089e3b2ea60ab8740f7.zip |
Handle correctly formatted AP attributedTo
Diffstat (limited to 'shared/models/activitypub/objects/video-comment-object.ts')
-rw-r--r-- | shared/models/activitypub/objects/video-comment-object.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/activitypub/objects/video-comment-object.ts b/shared/models/activitypub/objects/video-comment-object.ts index ba9001730..fb1e6f8db 100644 --- a/shared/models/activitypub/objects/video-comment-object.ts +++ b/shared/models/activitypub/objects/video-comment-object.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { ActivityTagObject } from './common-objects' | 1 | import { ActivityPubAttributedTo, ActivityTagObject } from './common-objects' |
2 | 2 | ||
3 | export interface VideoCommentObject { | 3 | export interface VideoCommentObject { |
4 | type: 'Note' | 4 | type: 'Note' |
@@ -11,6 +11,6 @@ export interface VideoCommentObject { | |||
11 | published: string | 11 | published: string |
12 | updated: string | 12 | updated: string |
13 | url: string | 13 | url: string |
14 | attributedTo: string | 14 | attributedTo: ActivityPubAttributedTo |
15 | tag: ActivityTagObject[] | 15 | tag: ActivityTagObject[] |
16 | } | 16 | } |