Skip to content

Commit

Permalink
Merge pull request #184 from laravel/user-agent
Browse files Browse the repository at this point in the history
Set a User-Agent string
  • Loading branch information
jbrooksuk authored Sep 30, 2024
2 parents 7166c8a + 62730c7 commit d22e6ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Forge.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function setApiKey($apiKey, $guzzle = null)
'Authorization' => 'Bearer '.$this->apiKey,
'Accept' => 'application/json',
'Content-Type' => 'application/json',
'User-Agent' => 'Laravel Forge PHP/3.0',
],
]);

Expand Down

0 comments on commit d22e6ac

Please sign in to comment.