diff --git a/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php b/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php index 6f3a4fc8..edfbddb4 100644 --- a/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php +++ b/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php @@ -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,