Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: object shorthand

jamesgeorge0079ecec8ce17fb
diff --git a/pages/graphql.vue b/pages/graphql.vue
index 9a9c4b99f..417b66f87 100644
--- a/pages/graphql.vue
+++ b/pages/graphql.vue
@@ -365,7 +365,7 @@ export default {
data() {
return {
schemaString: "",
- commonHeaders: commonHeaders,
+ commonHeaders,
queryFields: [],
mutationFields: [],
subscriptionFields: [],
diff --git a/pages/index.vue b/pages/index.vue
index 6e6fa0a1d..7d4c49514 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1498,7 +1498,7 @@ export default {
"text/plain"
],
- commonHeaders: commonHeaders,
+ commonHeaders,
showRequestModal: false,
editRequest: {},