metamigo-api - fix linter errors in whatsapp service
This commit is contained in:
parent
ef216f7b1c
commit
8669b09224
7 changed files with 49 additions and 49 deletions
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue