cuestionario temporal

This commit is contained in:
2020-11-23 13:56:58 -06:00
parent 5df8e9e00d
commit c5fce65f3e
8 changed files with 180 additions and 13 deletions
@@ -10,9 +10,7 @@ const informeGlobal = async (body, file) => {
})
.then((res) => {
if (!res) throw new Error('Este servicio no existe.');
if (res.informeGlobal) throw new Error('Ya se subio el informe global.');
switch (res.idStatus) {
case 4:
case 9: