remove newlines in graphql query
This commit is contained in:
parent
5c001a992b
commit
4fb15ec6d5
3 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue