sigesp 0.9.52-20230813 → 0.9.54-20230904

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.
@@ -7317,10 +7317,8 @@ class SigespService {
7317
7317
  * @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
7318
7318
  */
7319
7319
  getPersonal(tipo, dato) {
7320
- let cadena = '';
7321
- if (dato) {
7322
- cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}";
7323
- }
7320
+ let cadena;
7321
+ dato ? cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}" : cadena = '';
7324
7322
  return this.http.get(`${this.URL}/dao/sno/personal_dao.php?
7325
7323
  tipo=${tipo}&cadena`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
7326
7324
  if (res.success) {