File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Resources/views/GraphiQL Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3434 {% block body_loading %}Loading...{% endblock body_loading %}
3535 {% block body_script %}
3636 <script >
37- var endpoint = {{ endpoint | json_encode | raw }}
37+ var endpoint = {{ endpoint | json_encode | raw }};
3838
3939 function graphQLFetcher (params ) {
4040 {% block fetcher_function_body % }
4141 var headers
4242
4343 {% block graphql_fetcher_headers % }
4444 headers = {
45- " Accept" : " application/json" ,
46- " Content-Type" : " application/json" ,
45+ ' Accept' : ' application/json' ,
46+ ' Content-Type' : ' application/json' ,
4747 }
4848 {% endblock graphql_fetcher_headers % }
4949
5050 return fetch (endpoint, {
51- method: " post" ,
51+ method: ' post' ,
5252 headers: headers,
5353 body: JSON .stringify (params),
5454 credentials: ' include' ,
You can’t perform that action at this time.
0 commit comments