impaktapps-ui-builder 0.0.379 → 0.0.381

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.
@@ -8315,8 +8315,8 @@ const downloadFile$1 = (obj) => {
8315
8315
  document.body.removeChild(link);
8316
8316
  };
8317
8317
  const clickDownloadLink = (response2, service2) => {
8318
- const user = JSON.parse(localStorage.get("user"));
8319
- let url = `${service2.defaults.baseURL}/${response2.path}?Authorization=${user.token}`;
8318
+ const user = JSON.parse(localStorage.getItem("user"));
8319
+ let url = `${service2.defaults.baseURL}/${response2.path}?Authorization=Bearer%20${user.token}`;
8320
8320
  if (response2 == null ? void 0 : response2.params) {
8321
8321
  const keysArray = Object.keys(response2 == null ? void 0 : response2.params);
8322
8322
  keysArray.map((e, i) => {