Update AP deliver job

pull/983/head
Daniel Supernault 2019-03-07 22:59:53 -07:00
rodzic 87e856c001
commit b6bb6e3cb5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -79,7 +79,7 @@ class StatusActivityPubDeliver implements ShouldQueue
$requests = function() use ($client, $activity, $profile) {
foreach($audience as $url) {
$headers = HttpSignature::sign($profile, $url, $activity);
yield function() use ($client, $url, $activity) {
yield function() use ($client, $url, $activity, $headers) {
return $client->requestAsync('POST', $url, [
'curl' => [
CURLOPT_HTTPHEADER => $headers,