sigesp 0.9.58-20230906 → 0.9.59-20230906

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.
@@ -7072,9 +7072,9 @@ class SigespService {
7072
7072
  *
7073
7073
  */
7074
7074
  getCompany(tipo, id) {
7075
- return this.http.get(`${this.URL}/dao/cfg/empresas_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
7075
+ return this.http.get(`${this.URL}/dao/cfg/empresas_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
7076
7076
  if (res.success) {
7077
- res.data = res.data.map(e => new MEmpresa());
7077
+ res.data = res.data.map(e => new MEmpresa(e));
7078
7078
  }
7079
7079
  return res;
7080
7080
  }));