remove newlines in graphql query

This commit is contained in:
Jonas Leder 2022-03-08 11:15:41 +01:00
parent 5c001a992b
commit 4fb15ec6d5
No known key found for this signature in database
GPG key ID: 8A53DD45A7D7B44B
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ class contactMailButton extends HTMLElement {
async addButton() {
var graphql = JSON.stringify({
query: "query {\r\n sitekey\r\n}"
query: "query {sitekey}"
})
var requestOptions = {
method: 'POST',

View file

@ -9,7 +9,7 @@ class newComment extends HTMLElement {
async setupForm() {
var graphql = JSON.stringify({
query: "query {\r\n sitekey\r\n}"
query: "query {sitekey}"
})
var requestOptions = {
method: 'POST',

View file

@ -6,7 +6,7 @@ class Skill extends HTMLElement {
async getSkills(){
var graphql = JSON.stringify({
query: "query {\r\n skills\r\n}"
query: "query {skills}"
})
var requestOptions = {
method: 'POST',