mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 09:23:17 +01:00
chore: fixed typo during import of postman graphql collection
This commit is contained in:
parent
0d3fde5efd
commit
83e505979c
@ -23,7 +23,7 @@ const parseGraphQLRequest = (graphqlSource) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (typeof graphqlSource === 'string') {
|
if (typeof graphqlSource === 'string') {
|
||||||
graphqlSource = JSON.parse(text);
|
graphqlSource = JSON.parse(graphqlSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (graphqlSource.hasOwnProperty('variables') && graphqlSource.variables !== '') {
|
if (graphqlSource.hasOwnProperty('variables') && graphqlSource.variables !== '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user