diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:08:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:19:33 +0100 |
commit | 96d00a997b9847f6796c02dbff01bca2c99385c6 (patch) | |
tree | db3048042f83b0b5f529bdb4723f1f99202c3a96 /server/models | |
parent | 866b5d3f5230204d611a556260102996c1aefe10 (diff) | |
download | PeerTube-96d00a997b9847f6796c02dbff01bca2c99385c6.tar.gz PeerTube-96d00a997b9847f6796c02dbff01bca2c99385c6.tar.zst PeerTube-96d00a997b9847f6796c02dbff01bca2c99385c6.zip |
Add test on AP hooks
Diffstat (limited to 'server/models')
-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 | } |