From 015dba9e4aa7499976d0e6d217b400f27e21d6e9 Mon Sep 17 00:00:00 2001 From: IO420 <320154041@pcpuma.acatlan.unam.mx> Date: Thu, 29 Jan 2026 10:45:37 -0600 Subject: [PATCH] changed to id bitacora mesa --- src/bitacora_mesa/bitacora_mesa.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitacora_mesa/bitacora_mesa.service.ts b/src/bitacora_mesa/bitacora_mesa.service.ts index 941bd0c..ac2cba0 100644 --- a/src/bitacora_mesa/bitacora_mesa.service.ts +++ b/src/bitacora_mesa/bitacora_mesa.service.ts @@ -56,9 +56,9 @@ export class BitacoraMesaService { return student; } - async cancelation(id_mesa: number, nuevoTiempo: number) { + async cancelation(id_bitacora_mesa: number, nuevoTiempo: number) { const bitacora = await this.bitacoraMesaRepository.findOne({ - where: { mesa:{id_mesa} }, + where: { id_bitacora_mesa }, }); if (!bitacora) {