Merge branch 'main' into feat/email-auth

This commit is contained in:
Andrew Bastin
2021-06-11 01:10:19 -04:00
committed by GitHub

View File

@@ -195,13 +195,14 @@ export default {
}, },
methods: { methods: {
async createCollectionGist() { async createCollectionGist() {
this.getJSONCollection()
await this.$axios await this.$axios
.$post( .$post(
"https://api.github.com/gists", "https://api.github.com/gists",
{ {
files: { files: {
"hoppscotch-collections.json": { "hoppscotch-collections.json": {
content: this.getJSONCollection(), content: this.collectionJson,
}, },
}, },
}, },