mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 02:27:39 +00:00
Update saml-config-service.ts
This commit is contained in:
@@ -150,7 +150,7 @@ export const samlConfigServiceFactory = ({
|
|||||||
samlConfig = await samlConfigDAL.findOne({ orgId: dto.orgId });
|
samlConfig = await samlConfigDAL.findOne({ orgId: dto.orgId });
|
||||||
if (!samlConfig) {
|
if (!samlConfig) {
|
||||||
throw new NotFoundError({
|
throw new NotFoundError({
|
||||||
message: `Organization with ID '${dto.orgId}' not found`
|
message: `SAML configuration for organization with ID '${dto.orgId}' not found`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (dto.type === "orgSlug") {
|
} else if (dto.type === "orgSlug") {
|
||||||
|
|||||||
Reference in New Issue
Block a user