diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index b81287214..e9eaccf88 100644 --- a/packages/bruno-app/src/utils/importers/postman-collection.js +++ b/packages/bruno-app/src/utils/importers/postman-collection.js @@ -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 !== '') {