mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-28 15:29:21 +00:00
Chore: Removed code that spans out of scope
This commit is contained in:
@ -443,15 +443,6 @@ export const scimServiceFactory = ({
|
||||
});
|
||||
}
|
||||
|
||||
const organization = await orgDAL.findById(scimToken.orgId);
|
||||
|
||||
if (!organization.scimEnabled) {
|
||||
throw new ScimRequestError({
|
||||
detail: "SCIM is disabled for the organization",
|
||||
status: 403
|
||||
});
|
||||
}
|
||||
|
||||
return { scimTokenId: scimToken.id, orgId: scimToken.orgId };
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user