Skip to content

Commit

Permalink
Fix client type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
libern committed Aug 31, 2016
1 parent c9e26f7 commit 68d4d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Someline/Rest/RestClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public function withOAuthTokenTypePassword($requestData = null)
*/
public function withOAuthTokenTypeClientCredentials($requestData = null)
{
return $this->withOAuthToken(self::GRANT_TYPE_REFRESH_TOKEN, $requestData);
return $this->withOAuthToken(self::GRANT_TYPE_CLIENT_CREDENTIALS, $requestData);
}

/**
Expand Down

0 comments on commit 68d4d67

Please sign in to comment.