diff --git a/examples/basic-api/src/Main.php b/examples/basic-api/src/Main.php index 4521d662..7561f0bb 100644 --- a/examples/basic-api/src/Main.php +++ b/examples/basic-api/src/Main.php @@ -27,7 +27,7 @@ public function publicPing(){ public function privatePing(){ - $userData = \Auth0\SDK\Api\ApiUsers::get($this->token, $this->tokenInfo->sub); + $userData = \Auth0\SDK\Api\ApiUsers::get(getenv('AUTH0_DOMAIN'),$this->token, $this->tokenInfo->sub); return array( "status" => 'ok',