mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 15:41:27 +00:00
feat: more patchy patch
This commit is contained in:
@@ -372,14 +372,12 @@ export const githubOrgSyncServiceFactory = ({
|
||||
tx
|
||||
);
|
||||
const memberships = await membershipGroupDAL.insertMany(
|
||||
newGroups.map(
|
||||
(el) => ({
|
||||
actorGroupId: el.id,
|
||||
scope: AccessScope.Organization,
|
||||
scopeOrgId: orgId
|
||||
}),
|
||||
tx
|
||||
)
|
||||
newGroups.map((el) => ({
|
||||
actorGroupId: el.id,
|
||||
scope: AccessScope.Organization,
|
||||
scopeOrgId: orgId
|
||||
})),
|
||||
tx
|
||||
);
|
||||
|
||||
await membershipRoleDAL.insertMany(
|
||||
@@ -717,14 +715,12 @@ export const githubOrgSyncServiceFactory = ({
|
||||
);
|
||||
|
||||
const memberships = await membershipGroupDAL.insertMany(
|
||||
newGroups.map(
|
||||
(el) => ({
|
||||
actorGroupId: el.id,
|
||||
scope: AccessScope.Organization,
|
||||
scopeOrgId: orgPermission.orgId
|
||||
}),
|
||||
tx
|
||||
)
|
||||
newGroups.map((el) => ({
|
||||
actorGroupId: el.id,
|
||||
scope: AccessScope.Organization,
|
||||
scopeOrgId: orgPermission.orgId
|
||||
})),
|
||||
tx
|
||||
);
|
||||
|
||||
await membershipRoleDAL.insertMany(
|
||||
|
||||
Reference in New Issue
Block a user