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

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);