forked from mirror/pixelfed
Merge pull request #981 from pixelfed/frontend-ui-refactor
Update AP deliver job
This commit is contained in:
commit
3a89d87a12
|
@ -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 New Issue