diff --git a/lib/Service/GraphQLService.php b/src/Service/GraphQLService.php similarity index 92% rename from lib/Service/GraphQLService.php rename to src/Service/GraphQLService.php index 81d6272..9e84350 100644 --- a/lib/Service/GraphQLService.php +++ b/src/Service/GraphQLService.php @@ -14,7 +14,7 @@ public function graph(string $query, array $variables = []) } // Create the request, pass the access token and optional parameters - $endpoint = '/admin/api/graphql.json'; + $endpoint = 'graphql.json'; $response = $this->request( $endpoint, 'POST',