mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-21 04:16:38 +00:00
Merge dev into fix/log-analytics-adjustments
This commit is contained in:
@@ -93,10 +93,7 @@ export async function addRoleToResource(
|
||||
.select()
|
||||
.from(roles)
|
||||
.where(
|
||||
and(
|
||||
eq(roles.roleId, roleId),
|
||||
eq(roles.orgId, resource.orgId)
|
||||
)
|
||||
and(eq(roles.roleId, roleId), eq(roles.orgId, resource.orgId))
|
||||
)
|
||||
.limit(1);
|
||||
|
||||
@@ -158,4 +155,3 @@ export async function addRoleToResource(
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user