Use consistent query indentation

This commit is contained in:
ekzyis 2023-04-16 20:00:13 +02:00
parent 5d2130b6f5
commit 56a33da94a
1 changed files with 5 additions and 6 deletions

11
sn.go
View File

@ -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,