sigesp 1.0.5-20240423 → 1.0.6-20240430
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/fesm2015/sigesp.mjs
CHANGED
|
@@ -7437,8 +7437,8 @@ class SigespService {
|
|
|
7437
7437
|
}
|
|
7438
7438
|
});
|
|
7439
7439
|
}
|
|
7440
|
-
getUnidadAdministrativa(tipo) {
|
|
7441
|
-
return this.http.get(`${this.URL}/dao/spg/unidad_administrativa_dao.php?tipo=${tipo}`, { headers: this.getHttpHeaders() })
|
|
7440
|
+
getUnidadAdministrativa(tipo, e) {
|
|
7441
|
+
return this.http.get(`${this.URL}/dao/spg/unidad_administrativa_dao.php?tipo=${tipo}&e=${e}`, { headers: this.getHttpHeaders() })
|
|
7442
7442
|
.pipe(map((res) => {
|
|
7443
7443
|
if (res.success) {
|
|
7444
7444
|
res.data = res.data.map(e => new MAdministrativeUnit(e));
|