Support overriding badger for testing

This commit is contained in:
Owen
2026-03-28 21:23:59 -07:00
parent 00ef6d617f
commit 757bb39622
4 changed files with 13 additions and 9 deletions

View File

@@ -833,6 +833,8 @@ hybridRouter.get(
)
);
logger.debug(`User ${userId} has roles in org ${orgId}:`, userOrgRoleRows);
return response<{ roleId: number, roleName: string }[]>(res, {
data: userOrgRoleRows,
success: true,