Skip to content

Commit d22e6ac

Browse files
authored
Merge pull request #184 from laravel/user-agent
Set a User-Agent string
2 parents 7166c8a + 62730c7 commit d22e6ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Forge.php

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public function setApiKey($apiKey, $guzzle = null)
9999
'Authorization' => 'Bearer '.$this->apiKey,
100100
'Accept' => 'application/json',
101101
'Content-Type' => 'application/json',
102+
'User-Agent' => 'Laravel Forge PHP/3.0',
102103
],
103104
]);
104105

0 commit comments

Comments
 (0)