Skip to content

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

Update functions/strategies/AxiosStrategy.js

Andrew Bastin8e86e4c8e8d0
diff --git a/functions/strategies/AxiosStrategy.js b/functions/strategies/AxiosStrategy.js
index 3c237ea6c..10ab56a2f 100644
--- a/functions/strategies/AxiosStrategy.js
+++ b/functions/strategies/AxiosStrategy.js
@@ -18,7 +18,7 @@ const axiosStrategy = (req, store) => {
if (store.state.postwoman.settings.PROXY_ENABLED) {
return axiosWithProxy(req, store);
}
- else return axiosWithoutProxy(req, store);
+ return axiosWithoutProxy(req, store);
}
export default axiosStrategy;