Fix AP audience
This commit is contained in:
parent
97f026c7f0
commit
ab18fadfd1
|
@ -116,7 +116,7 @@ function buildCreateActivity (url: string, byActor: MActorLight, object: any, au
|
||||||
type: 'Create' as 'Create',
|
type: 'Create' as 'Create',
|
||||||
id: url + '/activity',
|
id: url + '/activity',
|
||||||
actor: byActor.url,
|
actor: byActor.url,
|
||||||
object
|
object: audiencify(object, audience)
|
||||||
},
|
},
|
||||||
audience
|
audience
|
||||||
)
|
)
|
||||||
|
|
|
@ -134,7 +134,7 @@ function buildUpdateActivity (url: string, byActor: MActorLight, object: any, au
|
||||||
type: 'Update' as 'Update',
|
type: 'Update' as 'Update',
|
||||||
id: url,
|
id: url,
|
||||||
actor: byActor.url,
|
actor: byActor.url,
|
||||||
object
|
object: audiencify(object, audience)
|
||||||
},
|
},
|
||||||
audience
|
audience
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue