We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa9176a + e2ba0b6 commit 2e4782aCopy full SHA for 2e4782a
lib/Gitlab/HttpClient/Listener/AuthListener.php
@@ -55,7 +55,7 @@ public function preSend(RequestInterface $request)
55
56
switch ($this->method) {
57
case Client::AUTH_HTTP_TOKEN:
58
- $request->addHeader('private_token: '.$this->token);
+ $request->addHeader('PRIVATE-TOKEN: '.$this->token);
59
if (!is_null($this->sudo)) {
60
$request->addHeader('SUDO: '.$this->sudo);
61
}
0 commit comments