Skip to content

Conversation

douglasmuraoka
Copy link
Contributor

Adds the clientKey into GraphQLConsole component as X-Parse-Client-Key header.

@@ -32,6 +32,7 @@ export default class GraphQLConsole extends Component {
} else {
const headers = {
'X-Parse-Application-Id': applicationId,
'X-Parse-Client-Key': clientKey,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The client key may be not available. Can you please check and only add the header in the case it exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@davimacedo davimacedo merged commit 11520d9 into parse-community:master Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants