forked from mirror/pixelfed
Merge pull request #983 from pixelfed/frontend-ui-refactor
Update AP deliver job
This commit is contained in:
commit
37d8be4db7
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class StatusActivityPubDeliver implements ShouldQueue
|
||||||
$requests = function() use ($client, $activity, $profile) {
|
$requests = function() use ($client, $activity, $profile) {
|
||||||
foreach($audience as $url) {
|
foreach($audience as $url) {
|
||||||
$headers = HttpSignature::sign($profile, $url, $activity);
|
$headers = HttpSignature::sign($profile, $url, $activity);
|
||||||
yield function() use ($client, $url, $activity) {
|
yield function() use ($client, $url, $activity, $headers) {
|
||||||
return $client->requestAsync('POST', $url, [
|
return $client->requestAsync('POST', $url, [
|
||||||
'curl' => [
|
'curl' => [
|
||||||
CURLOPT_HTTPHEADER => $headers,
|
CURLOPT_HTTPHEADER => $headers,
|
||||||
|
|
Loading…
Reference in a new issue