@atomsolution/sdk-merchant 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/merchant-profile.js
CHANGED
|
@@ -1340,7 +1340,7 @@ const portalAxiosClient = axios.create({
|
|
|
1340
1340
|
timeout: 1e4
|
|
1341
1341
|
});
|
|
1342
1342
|
portalAxiosClient.interceptors.request.use((config) => {
|
|
1343
|
-
const baseURL =
|
|
1343
|
+
const baseURL = usePortalApiConfig.getState().baseURL;
|
|
1344
1344
|
const accessToken = usePortalApiConfig.getState().accessToken;
|
|
1345
1345
|
config.baseURL = baseURL;
|
|
1346
1346
|
if (!config.headers.Authorization) {
|