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.
@@ -7713,9 +7713,9 @@
7713
7713
  *
7714
7714
  */
7715
7715
  SigespService.prototype.getCompany = function (tipo, id) {
7716
- return this.http.get(this.URL + "/dao/cfg/empresas_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
7716
+ return this.http.get(this.URL + "/dao/cfg/empresas_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
7717
7717
  if (res.success) {
7718
- res.data = res.data.map(function (e) { return new MEmpresa(); });
7718
+ res.data = res.data.map(function (e) { return new MEmpresa(e); });
7719
7719
  }
7720
7720
  return res;
7721
7721
  }));