Skip to content

Commit 5dea554

Browse files
authored
fix: using string as array causes error (#1396)
1 parent ba0a1b7 commit 5dea554

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function getUserByToken($token)
5656
$response = $this->getHttpClient()->post('https://id.vk.ru/oauth2/user_info', [
5757
RequestOptions::HEADERS => ['Accept' => 'application/json'],
5858
RequestOptions::FORM_PARAMS => [
59-
'access_token' => $token['access_token'],
59+
'access_token' => $token,
6060
'client_id' => $this->clientId,
6161
],
6262
]);

0 commit comments

Comments
 (0)