fix: open gist html_url after export

This commit is contained in:
Liyas Thomas
2023-02-01 20:59:12 +05:30
parent d5d516ce18
commit 492c3a0902
2 changed files with 2 additions and 2 deletions

View File

@@ -1465,7 +1465,7 @@ const createCollectionGist = async () => {
(result) => {
toast.success(t("export.gist_created").toString())
creatingGistCollection.value = false
window.open(result.data.url)
window.open(result.data.html_url)
}
)
)()

View File

@@ -190,7 +190,7 @@ const createEnvironmentGist = async () => {
)
toast.success(t("export.gist_created").toString())
window.open(res.html_url)
window.open(res.data.html_url)
} catch (e) {
toast.error(t("error.something_went_wrong").toString())
console.error(e)