endpointmesas

This commit is contained in:
2026-02-05 16:16:13 -06:00
4 changed files with 35 additions and 57 deletions
+1
View File
@@ -15,6 +15,7 @@ export class MesaController {
async findAllActivo() {
return this.mesaService.findAllActivo();
}
@Patch(':id')
async updateActivo(
+1
View File
@@ -28,4 +28,5 @@ export class MesaService {
mesa.activo = updateMesaDto.activo;
return this.mesaRepository.save(mesa);
}
}