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: stick with Es6 semantics

jamesgeorge007b05cd2e6e4c4
diff --git a/pages/index.vue b/pages/index.vue
index 69d1fcb3d..34a843faf 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -2525,7 +2525,7 @@ export default {
if (parsedCurl.headers) {
for (const key of Object.keys(parsedCurl.headers)) {
this.$store.commit("addHeaders", {
- key: key,
+ key,
value: parsedCurl.headers[key]
});
}