Add tests for getChecks

This commit is contained in:
Alex Holliday committed 2024-10-11 10:49:44 +08:00
1 parent 22a6d2ef2c
commit 9eb06a477f
2 files changed
+56 -2

No files matched your search

-1
View File
@@ -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;
}