Chore: Removed code that spans out of scope

This commit is contained in:
Daniel Hougaard
2024-03-13 13:40:10 +01:00
parent 0081bbdf9e
commit 52fd09b87b

View File

@ -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 };
};