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.
- package/bundles/sigesp.umd.js +2 -2
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/sigesp.service.js +3 -3
- package/fesm2015/sigesp.js +2 -2
- package/fesm2015/sigesp.js.map +1 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -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.
|
|
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
|
}));
|