From 43b0225fbaa6499b5553b2d1be0514e415134644 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Fri, 11 Jun 2021 09:05:00 +0530 Subject: [PATCH] fix: broken create github gist for collections --- components/collections/ImportExport.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/collections/ImportExport.vue b/components/collections/ImportExport.vue index 76578ee42..85a7dbec2 100644 --- a/components/collections/ImportExport.vue +++ b/components/collections/ImportExport.vue @@ -195,13 +195,14 @@ export default { }, methods: { async createCollectionGist() { + this.getJSONCollection() await this.$axios .$post( "https://api.github.com/gists", { files: { "hoppscotch-collections.json": { - content: this.getJSONCollection(), + content: this.collectionJson, }, }, },