From 6b122d7262e1656e9bfe7f465f469cdd89931e05 Mon Sep 17 00:00:00 2001 From: Clay Powers Date: Mon, 26 May 2025 07:25:11 -0400 Subject: [PATCH] Switch GraphQL variables code editor to json linting (#4756) --- .../src/components/RequestPane/GraphQLVariables/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/components/RequestPane/GraphQLVariables/index.js b/packages/bruno-app/src/components/RequestPane/GraphQLVariables/index.js index d490d8579..228a54fa8 100644 --- a/packages/bruno-app/src/components/RequestPane/GraphQLVariables/index.js +++ b/packages/bruno-app/src/components/RequestPane/GraphQLVariables/index.js @@ -64,7 +64,7 @@ const GraphQLVariables = ({ variables, item, collection }) => { font={get(preferences, 'font.codeFont', 'default')} fontSize={get(preferences, 'font.codeFontSize')} onEdit={onEdit} - mode="javascript" + mode="application/json" onRun={onRun} onSave={onSave} enableVariableHighlighting={true}