dont set org mapping by default

This commit is contained in:
miloschwartz
2026-04-17 17:25:21 -07:00
parent 5885e8eb39
commit a569054e94
2 changed files with 2 additions and 7 deletions

View File

@@ -154,16 +154,11 @@ export async function createOrgOidcIdp(
variant
});
const orgMapping =
orgMappingBody !== undefined
? orgMappingBody
: `'${orgId}'`;
await trx.insert(idpOrg).values({
idpId: idpRes.idpId,
orgId: orgId,
roleMapping: roleMapping || null,
orgMapping
orgMapping: orgMappingBody
});
});