Fix: corrige error de sintaxis en server.js

This commit is contained in:
2026-04-23 23:51:29 -03:00
parent e996f92d71
commit a27487363d
-1
View File
@@ -391,7 +391,6 @@ if (state.camas?.length) {
stmt.run(c.id, c.numero, c.areaId, c.tipo, c.estado);
}
}
}
if (state.internaciones?.length) {
const stmt = db.prepare('INSERT OR IGNORE INTO internaciones (id, pacienteId, camaId, areaId, fechaIngresoHospital, fechaIngresoClinica, fechaEgreso, diagnosticoIngreso, motivoConsulta, enfermedadActual, antecedentesEnfermedadActual, diagnosticoEgreso, medicoIngresante, motivoEgreso, activa, apache, derivacion) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)');