mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
add pending approvals count to sidebar
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user