Skip to content

Commit

Permalink
Revert "Update check to match client"
Browse files Browse the repository at this point in the history
This reverts commit f195c1c.
  • Loading branch information
eliykat committed Oct 4, 2023
1 parent f195c1c commit f8c188d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private async Task ValidateOrganization(Organization organization)
}

var provider = await _providerRepository.GetByOrganizationIdAsync(organization.Id);
if (provider != null)
if (provider is { Type: ProviderType.Msp })
{
throw new BadRequestException(
"Organizations with a Managed Service Provider do not support Secrets Manager.");
Expand Down

0 comments on commit f8c188d

Please sign in to comment.