1
0
mirror of https://github.com/bitwarden/server synced 2026-01-06 10:34:01 +00:00

[AC-2488] Return default state for billing metadata when Organization has no Stripe entities (#4018)

* Return default state for billing metadata when no stripe entities

* Fix tests
This commit is contained in:
Alex Morask
2024-04-25 09:21:05 -04:00
committed by GitHub
parent b12e881ece
commit eac2b9f0b8
3 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +1,8 @@
namespace Bit.Core.Billing.Models;
public record OrganizationMetadataDTO(
bool IsOnSecretsManagerStandalone);
bool IsOnSecretsManagerStandalone)
{
public static OrganizationMetadataDTO Default() => new(
IsOnSecretsManagerStandalone: default);
}