MAde makeRequest parse access_token itself
This commit is contained in:
parent
95776a22f8
commit
fea2792549
@ -269,7 +269,7 @@ class APnutI
|
|||||||
} elseif (isset($response['meta'], $response['data'])) {
|
} elseif (isset($response['meta'], $response['data'])) {
|
||||||
return $response['data'];
|
return $response['data'];
|
||||||
} elseif (isset($response['access_token'])) {
|
} elseif (isset($response['access_token'])) {
|
||||||
return $response;
|
return $response['access_token'];
|
||||||
} elseif (!empty($this->redirect_target)) {
|
} elseif (!empty($this->redirect_target)) {
|
||||||
return $this->redirect_target;
|
return $this->redirect_target;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user