Skip to content

Commit 9b247e7

Browse files
authored
Merge pull request #78 from NathanielBAdams/headers
GQL content-type added
2 parents bb755f5 + 2c29a25 commit 9b247e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/client/components/composer/NewRequest/HeaderEntryForm.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class HeaderEntryForm extends Component {
3636
method === "PUT" ||
3737
method === "PATCH" ||
3838
method === "DELETE" ||
39-
method === "POST"
39+
method === "POST" ||
40+
this.props.newRequestBody.bodyType === "GQL" ||
41+
this.props.newRequestBody.bodyType === "GQLvariables"
4042
);
4143
}
4244

0 commit comments

Comments
 (0)