diff --git a/server/controller/Servicio/rechazarAceptacion.js b/server/controller/Servicio/rechazarAceptacion.js index 363852e..4790dd2 100644 --- a/server/controller/Servicio/rechazarAceptacion.js +++ b/server/controller/Servicio/rechazarAceptacion.js @@ -57,7 +57,7 @@ const cancelar = async (body) => { ) .then((res) => Servicio.update( - { idStatus: 7, cartaAceptacion: null }, + { idStatus: 7, cartaAceptacion: '' }, { where: { idServicio } } ) ) diff --git a/server/controller/Servicio/rechazarInforme.js b/server/controller/Servicio/rechazarInforme.js index 470fa3f..a88b773 100644 --- a/server/controller/Servicio/rechazarInforme.js +++ b/server/controller/Servicio/rechazarInforme.js @@ -58,7 +58,7 @@ const cancelar = async (body) => { ) .then((res) => Servicio.update( - { idStatus: 9, informeGlobal: null }, + { idStatus: 9, informeGlobal: '' }, { where: { idServicio } } ) ) diff --git a/server/controller/Servicio/rechazarTermino.js b/server/controller/Servicio/rechazarTermino.js index 43e37a4..d240157 100644 --- a/server/controller/Servicio/rechazarTermino.js +++ b/server/controller/Servicio/rechazarTermino.js @@ -58,7 +58,7 @@ const cancelar = async (body) => { ) .then((res) => Servicio.update( - { idStatus: 8, cartaTermino: null }, + { idStatus: 8, cartaTermino: '' }, { where: { idServicio } } ) )