mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-10 04:36:38 +00:00
Fix error related to user id col
This commit is contained in:
@@ -64,7 +64,7 @@ export async function rebuildSiteClientAssociations(
|
|||||||
// get all of the users in these roles
|
// get all of the users in these roles
|
||||||
const userIdsFromRoles = await trx
|
const userIdsFromRoles = await trx
|
||||||
.select({
|
.select({
|
||||||
userId: users.userId
|
userId: userOrgs.userId
|
||||||
})
|
})
|
||||||
.from(userOrgs)
|
.from(userOrgs)
|
||||||
.where(inArray(userOrgs.roleId, roleIds))
|
.where(inArray(userOrgs.roleId, roleIds))
|
||||||
|
|||||||
Reference in New Issue
Block a user