Skip to content

Commit

Permalink
Upgraded to v1.5.6
Browse files Browse the repository at this point in the history
Fixed backward compatibility bug with HTTP verbs.
  • Loading branch information
imolorhe committed Dec 5, 2017
1 parent 8c70849 commit e30c8cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chrome-ext-files/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Altair GraphQL Client",
"short_name": "Altair",
"description": "The only graphQL client you'll ever need.",
"version": "1.5.5",
"version": "1.5.6",
"icons": {
"16": "assets/img/altair_logo_128.png",
"48": "assets/img/altair_logo_128.png",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altair",
"version": "1.5.5",
"version": "1.5.6",
"license": "MIT",
"author": "Samuel Imolorhe <[email protected]> (https://sirmuel.design/)",
"description": "The best graphQL client you will ever need",
Expand Down
5 changes: 5 additions & 0 deletions src/app/containers/window/window.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ export class WindowComponent implements OnInit {
this.store.dispatch(new schemaActions.SetSchemaAction(this.windowId, schema));
}
}

// Backward compatibility: set the HTTP verb if it is not set.
if (!this.httpVerb) {
this.store.dispatch(new queryActions.SetHTTPMethodAction({ httpVerb: 'POST' }, this.windowId));
}
// console.log(data.query);
});

Expand Down

0 comments on commit e30c8cf

Please sign in to comment.