Add tests for getChecks
This commit is contained in:
1 parent
22a6d2ef2c
commit
9eb06a477f
2 files changed
+56
-2
No files matched your search
@@ -20,7 +20,6 @@ const createCheck = async (req, res, next) => {
|
||||
await createCheckParamValidation.validateAsync(req.params);
|
||||
await createCheckBodyValidation.validateAsync(req.body);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
next(handleValidationError(error, SERVICE_NAME));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user