This commit is contained in:
Lemuel Marquez
2021-01-13 12:00:11 -06:00
parent ff6699ff20
commit 5de85194fe
8 changed files with 53 additions and 75 deletions
+1 -3
View File
@@ -48,9 +48,7 @@ const registro = async (body) => {
{ where: { idUsuario } }
);
})
.then((res) => {
return Servicio.update({ idStatus: 2 }, { where: { idServicio } });
})
.then((res) => Servicio.update({ idStatus: 2 }, { where: { idServicio } }))
.then((res) => {
return {
message: