Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Fix: passing auth into codegen (#1226)

Yasio745683f2a8af
diff --git a/pages/index.vue b/pages/index.vue
index 6c1b455d4..a0afc74a8 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1791,6 +1791,7 @@ export default {
},
requestCode() {
return generateCodeWithGenerator(this.requestType, {
+ auth: this.auth,
method: this.method,
url: this.url,
pathName: this.pathName,