Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Wassim-Rached committed Sep 21, 2024
1 parent 8cf6926 commit 1083909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export function handleRoutes(app: Express) {
);
if (!currentAccountAuthorities.includes("cas.perm.clear_account_cache")) {
res.status(403).json({ message: "Insuffisent Permissions" });
return;
}

const { accountId } = req.params;
Expand Down

0 comments on commit 1083909

Please sign in to comment.