utn-cli 2.1.44 → 2.1.45
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
|
@@ -275,7 +275,7 @@ class Miscelaneo {
|
|
|
275
275
|
let datosFinales;
|
|
276
276
|
if (existentes.length > 0) {
|
|
277
277
|
const datosExistentes = typeof existentes[0].Datos === 'string' ? JSON.parse(existentes[0].Datos) : existentes[0].Datos;
|
|
278
|
-
datosFinales = {
|
|
278
|
+
datosFinales = { 'Archivo': archivo, ...tarjeta, ...datosExistentes };
|
|
279
279
|
await ejecutarConsultaSIGU(
|
|
280
280
|
`UPDATE \`SIGU\`.\`SIGU_ModulosV2Tarjetas\` SET \`Datos\` = ?, \`LastUser\` = 'Sistema' WHERE \`Modulo\` = ? AND JSON_VALUE(\`Datos\`, '$."Título"') = ?`,
|
|
281
281
|
[JSON.stringify(datosFinales), this.NombreCanonicoDelModulo, titulo]
|