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{
|
||||
Query: `
|
||||
mutation upsertLink($url: String!, $title: String!) {
|
||||
upsertLink(url: $url, title: $title) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`,
|
||||
mutation upsertLink($url: String!, $title: String!) {
|
||||
upsertLink(url: $url, title: $title) {
|
||||
id
|
||||
}
|
||||
}`,
|
||||
Variables: map[string]interface{}{
|
||||
"url": story.Url,
|
||||
"title": story.Title,
|
||||
|
|
Loading…
Reference in New Issue