mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Add ability for plugins to alter video jsonld
This commit is contained in:
parent
4899138ec5
commit
3b504f6ed4
16 changed files with 91 additions and 94 deletions
|
@ -63,7 +63,7 @@ async function buildActivities (actor: MActorLight, start: number, count: number
|
|||
|
||||
activities.push(announceActivity)
|
||||
} else {
|
||||
const videoObject = video.toActivityPubObject()
|
||||
const videoObject = await video.toActivityPubObject()
|
||||
const createActivity = buildCreateActivity(video.url, byActor, videoObject, createActivityAudience)
|
||||
|
||||
activities.push(createActivity)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue