Skip to content

Commit

Permalink
Refactor for graphql query consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
andscoop committed Jun 27, 2018
1 parent f1b5d37 commit 57317d4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions houston/houston.go
Expand Up @@ -20,7 +20,8 @@ var (
organizationUuid: "",
teamUuid: "",
type: "airflow",
version: "") {
version: ""
) {
success,
message,
id,
Expand All @@ -30,7 +31,10 @@ var (

createTokenRequest = `
mutation createToken {
createToken(identity:"%s", password:"%s") {
createToken(
identity:"%s",
password:"%s"
) {
success
message
token
Expand All @@ -54,7 +58,9 @@ var (

fetchDeploymentRequest = `
query FetchDeployment {
fetchDeployments(deploymentUuid: "%s") {
fetchDeployments(
deploymentUuid: "%s"
) {
uuid
type
title
Expand Down

0 comments on commit 57317d4

Please sign in to comment.