Skip to content

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

Fixed proxying through the firefox extension

Andrew Bastin8ae5dbc3750b
diff --git a/functions/strategies/FirefoxStrategy.js b/functions/strategies/FirefoxStrategy.js
index afe63498c..9160a27d3 100644
--- a/functions/strategies/FirefoxStrategy.js
+++ b/functions/strategies/FirefoxStrategy.js
@@ -6,7 +6,7 @@ const firefoxWithProxy = (req, { state }) =>
if (event.detail.error) {
reject(JSON.parse(event.detail.error));
} else {
- resolve(JSON.parse(event.detail.response));
+ resolve(JSON.parse(event.detail.response).data);
}
};