Update StoryFanout, remove unused variable

This commit is contained in:
Daniel Supernault 2022-05-02 17:11:29 -06:00
parent b0cb6d2078
commit d43908780f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -81,7 +81,6 @@ class StoryFanout implements ShouldQueue
foreach($audience as $url) { foreach($audience as $url) {
$version = config('pixelfed.version'); $version = config('pixelfed.version');
$appUrl = config('app.url'); $appUrl = config('app.url');
$proxy = config('');
$headers = HttpSignature::sign($profile, $url, $activity, [ $headers = HttpSignature::sign($profile, $url, $activity, [
'Content-Type' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', 'Content-Type' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
'User-Agent' => "(Pixelfed/{$version}; +{$appUrl})", 'User-Agent' => "(Pixelfed/{$version}; +{$appUrl})",