add pending approvals count to sidebar

This commit is contained in:
miloschwartz
2026-01-19 21:25:28 -08:00
parent f143d2e214
commit 0b8068e13d
6 changed files with 229 additions and 20 deletions

View File

@@ -321,6 +321,13 @@ authenticated.get(
approval.listApprovals
);
authenticated.get(
"/org/:orgId/approvals/count",
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.listApprovals),
approval.countApprovals
);
authenticated.put(
"/org/:orgId/approvals/:approvalId",
verifyValidLicense,