implement adjustments and merge with develop

This commit is contained in:
karenvicent committed 2025-07-02 10:02:01 -04:00
1 parent 1cb730764a
commit c8bf571f7a
17 files changed
+373 -26

No files matched your search

+13
View File
@@ -111,6 +111,19 @@ class CheckController {
}
};
getChecksSummaryByTeamId = async (req, res, next) => {
try {
const { teamId } = req.user;
const summary = await this.db.getChecksSummaryByTeamId({ teamId });
return res.success({
msg: this.stringService.checkGetSummary,
data: summary,
});
} catch (error) {
next(handleError(error, SERVICE_NAME, "getChecksSummaryByTeamId"));
}
};
ackCheck = async (req, res, next) => {
try {
await ackCheckBodyValidation.validateAsync(req.body);