fix(routes): Pass licenseManager and other deps to auth/sso-gate

This commit is contained in:
Krystie
2026-03-30 00:23:12 -07:00
parent e4b5a0a645
commit a2ee590897

View File

@@ -22,7 +22,12 @@ module.exports = function(ctx) {
session: ctx.session,
asyncHandler: ctx.asyncHandler,
errorResponse: ctx.errorResponse,
log: ctx.log
log: ctx.log,
// Additional deps for sso-gate
fetchT: ctx.fetchT,
getServiceById: ctx.getServiceById,
licenseManager: ctx.licenseManager,
servicesStateManager: ctx.servicesStateManager
};
const { getAppSession, appSessionCache } = initSessionHandlers(deps);