We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08318f2 commit d842090Copy full SHA for d842090
includes/graphql_api_page_callback.inc
@@ -93,8 +93,6 @@ function graphql_api_page_callback() {
93
drupal_json_output($result);
94
exit;
95
} catch (Exception $exception) {
96
- dump($exception);
97
- die();
98
$result = [
99
'errors' => [
100
['message' => $exception->getMessage(), 'backtrace' => debug_backtrace()]
js/legacy/voyager.js
@@ -4,7 +4,7 @@ Drupal.behaviors.graphql_api_voyager = {
4
return new Promise(function (resolve, reject) {
5
jQuery.ajax({
6
url: settings.basePath + 'graphql',
7
- method: 'post',
+ type: 'POST',
8
contentType: "application/json; charset=utf-8",
9
data: JSON.stringify({
10
query: introspectionQuery,
0 commit comments