1
0
Fork 0

Update FanoutDeletePipeline, fix AP object

This commit is contained in:
Daniel Supernault 2023-07-16 04:27:14 -06:00
parent 7a431af93a
commit 0d802c313b
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 3 additions and 3 deletions

View File

@ -53,10 +53,10 @@ class FanoutDeletePipeline implements ShouldQueue
"id" => $profile->permalink('#delete'),
"type" => "Delete",
"actor" => $profile->permalink(),
"to" => [
"https://www.w3.org/ns/activitystreams#Public",
"object" => [
"type" => "Person",
"id" => $profile->permalink()
],
"object" => $profile->permalink(),
];
$payload = json_encode($activity);