From 83e505979c30a3abf0ff7a05466e00479cbbd299 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Sun, 15 Sep 2024 23:37:14 +0530 Subject: [PATCH] chore: fixed typo during import of postman graphql collection --- packages/bruno-app/src/utils/importers/postman-collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !== '') {