metamigo-api - fix linter errors in whatsapp service

This commit is contained in:
Abel Luck 2023-03-13 15:01:40 +00:00
parent ef216f7b1c
commit 8669b09224
7 changed files with 49 additions and 49 deletions

View file

@ -239,12 +239,11 @@ export const RequestCodeRoute = Helpers.withDefaults({
return h.response().code(402);
}
if (error.code) {
if (error.code) {
return h.response().code(error.code);
}
return h.response().code(500);
return h.response().code(500);
}
},
},