Fix: corrige error de sintaxis en server.js
This commit is contained in:
@@ -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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)');
|
||||
|
||||
Reference in New Issue
Block a user