mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update AP deliver job
This commit is contained in:
parent
fadfd8349b
commit
4e978b7a56
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ class StatusActivityPubDeliver implements ShouldQueue
|
|||
foreach($audience as $url) {
|
||||
$headers = HttpSignature::sign($profile, $url, $activity);
|
||||
yield function() use ($client, $url, $activity) {
|
||||
return $client->requestAsync('POST', $url, $headers, $activity);
|
||||
return $client->requestAsync('POST', $url, [
|
||||
'headers' => $headers,
|
||||
'body' => $payload
|
||||
]);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue