changed to id bitacora mesa
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user