From 3d3b2836ca4eda214003fbd6b748458a2e7e53a3 Mon Sep 17 00:00:00 2001 From: Lemuel Marquez Date: Thu, 15 Jul 2021 21:42:34 -0500 Subject: [PATCH] error 50 --- server/controller/CarreraHorario/get.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/CarreraHorario/get.js b/server/controller/CarreraHorario/get.js index a3702a6..8d8acfa 100644 --- a/server/controller/CarreraHorario/get.js +++ b/server/controller/CarreraHorario/get.js @@ -25,7 +25,7 @@ const get = async (body) => { where: { idHorario: res[i].Horario.idHorario }, }).then((res) => res.length); - if (lugaresOcupados <= 50) + if (lugaresOcupados < 50) data.push({ idHorario: res[i].Horario.idHorario, horario: res[i].Horario.horario,