chore: fixed typo during import of postman graphql collection

This commit is contained in:
Anoop M D 2024-09-15 23:37:14 +05:30 committed by GitHub
parent 0d3fde5efd
commit 83e505979c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ const parseGraphQLRequest = (graphqlSource) => {
};
if (typeof graphqlSource === 'string') {
graphqlSource = JSON.parse(text);
graphqlSource = JSON.parse(graphqlSource);
}
if (graphqlSource.hasOwnProperty('variables') && graphqlSource.variables !== '') {