From 9b413a116bb229d90dd5c94f725e845af8454bc1 Mon Sep 17 00:00:00 2001 From: Lemuel Marquez Date: Wed, 9 Dec 2020 18:33:41 -0600 Subject: [PATCH] error lemuel --- server/controller/Servicio/cartaTermino.js | 2 +- server/controller/Servicio/informeGlobal.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/controller/Servicio/cartaTermino.js b/server/controller/Servicio/cartaTermino.js index 81c2a2d..6f19105 100644 --- a/server/controller/Servicio/cartaTermino.js +++ b/server/controller/Servicio/cartaTermino.js @@ -49,7 +49,7 @@ const cartaTermino = async (body, file) => { }) .then((res) => { return Servicio.update( - { cartaTermino: res, idStatus: 5 }, + { cartaTermino: res }, { where: { idServicio } } ); }) diff --git a/server/controller/Servicio/informeGlobal.js b/server/controller/Servicio/informeGlobal.js index 9a75da7..3b32398 100644 --- a/server/controller/Servicio/informeGlobal.js +++ b/server/controller/Servicio/informeGlobal.js @@ -51,7 +51,7 @@ const informeGlobal = async (body, file) => { }) .then((res) => { return Servicio.update( - { informeGlobal: res, idStatus: 5 }, + { informeGlobal: res }, { where: { idServicio } } ); })