diff --git a/php/AuthSCHClient.class.php b/php/AuthSCHClient.class.php index 42ac4d2b8cef8fc5a8b9561e897832c4667263e0..7d3a7ab452dc1ee390e9d51a4ed466252886d438 100644 --- a/php/AuthSCHClient.class.php +++ b/php/AuthSCHClient.class.php @@ -95,7 +95,7 @@ class AuthSCHClient { } public function getData() { - return json_decode(file_get_contents(self::$host . 'api/view/scope/' . self::$scope . '?access_token=' . $this->tokens->access_token)); + return json_decode(file_get_contents(self::$host . 'api/profile/?access_token=' . $this->tokens->access_token)); } } \ No newline at end of file