wt-front-shared 1.0.55 → 1.0.56

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.
@@ -1913,7 +1913,7 @@ class BaseAPIService {
1913
1913
  }
1914
1914
  });
1915
1915
  }
1916
- this.requestsFacade.updateRequestData(endPointUrl, params.httpMethod, itemId, this.statuses.LOADED, secondEndPointUrl, response?.body?.data);
1916
+ this.requestsFacade.updateRequestData(endPointUrl, params.httpMethod, itemId, this.statuses.LOADED, secondEndPointUrl, null, response?.body?.data);
1917
1917
  return this.handleResponse(response, endPoint);
1918
1918
  }), catchError((error) => {
1919
1919
  console.error('[ base-api-service ][ httpClient ][ request ]', error);
@@ -1927,7 +1927,6 @@ class BaseAPIService {
1927
1927
  });
1928
1928
  }*/
1929
1929
  const errorResult = this.handleResponse(error, endPoint);
1930
- //this.requestsFacade.updateRequestData(endPointUrl, params.httpMethod, itemId, this.statuses.LOADED, secondEndPointUrl);
1931
1930
  return of(errorResult);
1932
1931
  }));
1933
1932
  }
@@ -2322,7 +2321,7 @@ class RequestsFacade {
2322
2321
  this.store.dispatch(CreateRequestListener({ payload: { endPointUrl, method, itemId, secondEndPointUrl } }));
2323
2322
  }
2324
2323
  updateRequestData(endPointUrl, method, itemId, status, secondEndPointUrl, error, responseData) {
2325
- this.store.dispatch(UpdateRequestData({ payload: { endPointUrl, secondEndPointUrl, method, itemId, status, error, responseData } }));
2324
+ this.store.dispatch(UpdateRequestData({ payload: { endPointUrl, secondEndPointUrl, method, itemId, status, error, data: responseData } }));
2326
2325
  }
2327
2326
  deleteRequestWaiter(endPointUrl, method, itemId, secondEndPointUrl) {
2328
2327
  this.store.dispatch(DeleteRequestWaiter({ payload: { endPointUrl, secondEndPointUrl, method, itemId } }));