diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:08:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:45:52 +0100 |
commit | 58e735dd77a4ea8fc9e8da3b54fd338bf9e3558b (patch) | |
tree | eb2f315096e8013ec684438130639f6251110f5f /server/models/video/video.ts | |
parent | 3b504f6ed4e890bebb46d0481aba15b43050323a (diff) | |
download | PeerTube-58e735dd77a4ea8fc9e8da3b54fd338bf9e3558b.tar.gz PeerTube-58e735dd77a4ea8fc9e8da3b54fd338bf9e3558b.tar.zst PeerTube-58e735dd77a4ea8fc9e8da3b54fd338bf9e3558b.zip |
Add test on AP hooks
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 7fe2ec293..aa9c62e36 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1717,7 +1717,7 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> { | |||
1717 | toActivityPubObject (this: MVideoAP): Promise<VideoObject> { | 1717 | toActivityPubObject (this: MVideoAP): Promise<VideoObject> { |
1718 | return Hooks.wrapObject( | 1718 | return Hooks.wrapObject( |
1719 | videoModelToActivityPubObject(this), | 1719 | videoModelToActivityPubObject(this), |
1720 | 'filter:activity-pub.video.jsonld.build.result', | 1720 | 'filter:activity-pub.video.json-ld.build.result', |
1721 | { video: this } | 1721 | { video: this } |
1722 | ) | 1722 | ) |
1723 | } | 1723 | } |