Fix error related to user id col

This commit is contained in:
Owen
2025-11-07 14:59:29 -08:00
parent 76d54b2d0f
commit 41e21acf42

View File

@@ -64,7 +64,7 @@ export async function rebuildSiteClientAssociations(
// get all of the users in these roles
const userIdsFromRoles = await trx
.select({
userId: users.userId
userId: userOrgs.userId
})
.from(userOrgs)
.where(inArray(userOrgs.roleId, roleIds))