protect routes and import function

This commit is contained in:
Alex Holliday committed 2025-11-29 19:24:08 +00:00
1 parent e600f293b0
commit f476a57748
12 files changed
+112 -28

No files matched your search

-1
View File
@@ -152,7 +152,6 @@ export const addUserContext = async (
const provider = EntitlementsFactory.create();
const entitlements: Entitlements = await provider.getForOrg(orgId);
req.entitlements = entitlements;
return next();
} catch (error) {
next(error);