Merge branch 'main' into feat/email-auth
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user