utn-cli 2.0.36 → 2.0.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utn-cli",
3
- "version": "2.0.36",
3
+ "version": "2.0.38",
4
4
  "description": "Herramienta CLI unificada para la gestión de plantillas en SIGU.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -40,7 +40,7 @@ class Miscelaneo {
40
40
  this.EnlaceDeAcceso = undefined;
41
41
  };
42
42
 
43
- async obtenerNombreLaBaseDeDatos() {
43
+ obtenerNombreLaBaseDeDatos() {
44
44
  return this.NombreDelRepositorioDeLaBaseDeDatos.slice(0, -3);
45
45
  }
46
46
 
@@ -1244,7 +1244,7 @@ class Miscelaneo {
1244
1244
  if (!Resultado) {
1245
1245
  throw new ManejadorDeErrores(ManejadorDeErrores.mensajeDeErrorVerificacionDeToken(), ManejadorDeErrores.obtenerNumeroDeLinea(), encabezadoDeAutorizacion);
1246
1246
  }
1247
- // Resultado.token = token;
1247
+ Resultado.token = token;
1248
1248
  const DatosDeLaPersona = await ejecutarConsultaSIGU("SELECT `Identificacion`, `Nombre`, `PrimerApellido`,\
1249
1249
  `SegundoApellido`, CONCAT(`FechaNacimiento`) AS `FechaDeNacimiento`\
1250
1250
  FROM `SIGU`.`SIGU_Personas` WHERE `Identificador` = ?", [Resultado.uid]);