aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/send/send-update.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-13 17:33:59 +0100
committerChocobozzz <me@florianbigard.com>2021-12-13 17:33:59 +0100
commitab18fadfd1104ff2fab1b7e90915426a0c707b7f (patch)
tree2781b93a6dbd54b7acda8276699eeab14447656d /server/lib/activitypub/send/send-update.ts
parent97f026c7f02d145eb22f7bf67c13ca52385fd0e1 (diff)
downloadPeerTube-ab18fadfd1104ff2fab1b7e90915426a0c707b7f.tar.gz
PeerTube-ab18fadfd1104ff2fab1b7e90915426a0c707b7f.tar.zst
PeerTube-ab18fadfd1104ff2fab1b7e90915426a0c707b7f.zip
Fix AP audience
Diffstat (limited to 'server/lib/activitypub/send/send-update.ts')
-rw-r--r--server/lib/activitypub/send/send-update.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/send/send-update.ts b/server/lib/activitypub/send/send-update.ts
index 3c65e19ed..bcf6e1569 100644
--- a/server/lib/activitypub/send/send-update.ts
+++ b/server/lib/activitypub/send/send-update.ts
@@ -134,7 +134,7 @@ function buildUpdateActivity (url: string, byActor: MActorLight, object: any, au
134 type: 'Update' as 'Update', 134 type: 'Update' as 'Update',
135 id: url, 135 id: url,
136 actor: byActor.url, 136 actor: byActor.url,
137 object 137 object: audiencify(object, audience)
138 }, 138 },
139 audience 139 audience
140 ) 140 )