Update saml-config-service.ts

This commit is contained in:
Daniel Hougaard
2025-07-04 05:21:54 +04:00
parent 65b1354ef1
commit c6f8915d3f
@@ -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") {