fix: broken create github gist for collections
This commit is contained in:
parent
af9c7e0aff
commit
43b0225fba
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue