Skip to content

Commit

Permalink
Upgrade Gitlab api version (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaelftah authored and faustbrian committed Jun 27, 2018
1 parent 3627c98 commit 0e6d2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitLab/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function getTokenUrl()
*/
protected function getUserByToken($token)
{
$response = $this->getHttpClient()->get($this->getInstanceUri().'api/v3/user', [
$response = $this->getHttpClient()->get($this->getInstanceUri().'api/v4/user', [
'headers' => [
'Authorization' => 'Bearer '.$token,
],
Expand Down

0 comments on commit 0e6d2e3

Please sign in to comment.