fix: broken create github gist for collections

This commit is contained in:
liyasthomas
2021-06-11 09:05:00 +05:30
parent af9c7e0aff
commit 43b0225fba

View File

@@ -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,
},
},
},