diff --git a/CmsRestClient.php b/CmsRestClient.php index 2f24b9b..87e1d01 100644 --- a/CmsRestClient.php +++ b/CmsRestClient.php @@ -276,9 +276,9 @@ private function singInRequest() $token = null; if ($response->getStatusCode() == 200) { $body = json_decode($response->getBody(), true); - $token = isset($body['Token']) ? $body['Token'] : null; + $token = isset($body['token']) ? $body['token'] : null; } return $token; } -} \ No newline at end of file +}