Skip to content

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

Formatting exported Collection

Liyas Thomas04f55cd9c4f4
diff --git a/components/collections/exportCollection.vue b/components/collections/exportCollection.vue
index 4b58921fa..b4b927cf7 100644
--- a/components/collections/exportCollection.vue
+++ b/components/collections/exportCollection.vue
@@ -37,7 +37,7 @@ export default {
},
computed: {
collectionJson () {
- return JSON.stringify(this.$store.state.postwoman.collections);
+ return JSON.stringify(this.$store.state.postwoman.collections, null, 2);
}
},
methods: {