Use consistent query indentation
This commit is contained in:
parent
5d2130b6f5
commit
56a33da94a
11
sn.go
11
sn.go
|
@ -111,12 +111,11 @@ func PostStoryToStackerNews(story *Story) {
|
||||||
|
|
||||||
body := GraphQLPayload{
|
body := GraphQLPayload{
|
||||||
Query: `
|
Query: `
|
||||||
mutation upsertLink($url: String!, $title: String!) {
|
mutation upsertLink($url: String!, $title: String!) {
|
||||||
upsertLink(url: $url, title: $title) {
|
upsertLink(url: $url, title: $title) {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
}
|
}`,
|
||||||
`,
|
|
||||||
Variables: map[string]interface{}{
|
Variables: map[string]interface{}{
|
||||||
"url": story.Url,
|
"url": story.Url,
|
||||||
"title": story.Title,
|
"title": story.Title,
|
||||||
|
|
Loading…
Reference in New Issue