Skip to content

Commit 568a7a0

Browse files
author
Renan Palmeira
committed
Renamed code to authorize_code
1 parent 77b2d35 commit 568a7a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/OAuth/OAuth.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ public function setAccessToken($token)
7272
}
7373
}
7474

75-
public function getAccessToken($code)
75+
public function getAccessToken($authorize_code)
7676
{
7777
$query = array(
78-
'code' => $code,
79-
'client_id' => $this->client_id,
80-
'client_secret' => $this->client_secret,
78+
'authorize_code' => $authorize_code,
79+
'client_id' => $this->client_id,
80+
'client_secret' => $this->client_secret,
8181
);
8282

8383
$endpoint = '/oauth/oauth_token';

0 commit comments

Comments
 (0)