Skip to content

feat: Add client key into GraphQL console by default#1142

Merged
davimacedo merged 4 commits intoparse-community:masterfrom
douglasmuraoka:feat_graphql_console_add_client_key
Jul 16, 2019
Merged

feat: Add client key into GraphQL console by default#1142
davimacedo merged 4 commits intoparse-community:masterfrom
douglasmuraoka:feat_graphql_console_add_client_key

Conversation

@douglasmuraoka
Copy link
Copy Markdown
Contributor

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

} else {
const headers = {
'X-Parse-Application-Id': applicationId,
'X-Parse-Client-Key': clientKey,
Copy link
Copy Markdown
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
Copy Markdown
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