Browse Source

Removed boilerplate

main
Alan Stanley 10 months ago committed by GitHub
parent
commit
8e2e5c4611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      src/CrossrefApiReader.php

1
src/CrossrefApiReader.php

@ -36,7 +36,6 @@ final class CrossrefApiReader {
$response = $this->httpClient->get($url, [ $response = $this->httpClient->get($url, [
'headers' => [ 'headers' => [
'accept' => 'application/json', 'accept' => 'application/json',
'User-Agent' => 'YourProjectName/1.0 (mailto:your-email@example.com)',
'User-Agent' => "IslandScholar/ (mailto:{$site_email})", 'User-Agent' => "IslandScholar/ (mailto:{$site_email})",
], ],
]); ]);

Loading…
Cancel
Save