mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Merge pull request #982 from pixelfed/frontend-ui-refactor
Update AP deliver job
This commit is contained in:
commit
82caa88659
1 changed files with 5 additions and 2 deletions
|
@ -81,8 +81,11 @@ class StatusActivityPubDeliver implements ShouldQueue
|
|||
$headers = HttpSignature::sign($profile, $url, $activity);
|
||||
yield function() use ($client, $url, $activity) {
|
||||
return $client->requestAsync('POST', $url, [
|
||||
'headers' => $headers,
|
||||
'body' => $payload
|
||||
'curl' => [
|
||||
CURLOPT_HTTPHEADER => $headers,
|
||||
CURLOPT_POSTFIELDS => $payload,
|
||||
CURLOPT_HEADER => true
|
||||
]
|
||||
]);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue