Skip to content

Commit 500adc8

Browse files
authored
Add API versioning, move GraphQLService (#40)
1 parent be08c3f commit 500adc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/GraphQLService.php renamed to src/Service/GraphQLService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function graph(string $query, array $variables = [])
1414
}
1515

1616
// Create the request, pass the access token and optional parameters
17-
$endpoint = '/admin/api/graphql.json';
17+
$endpoint = 'graphql.json';
1818
$response = $this->request(
1919
$endpoint,
2020
'POST',

0 commit comments

Comments
 (0)