1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-15 01:41:40 +01:00

Changes for email notification

This commit is contained in:
Cy Okeke 2024-11-12 11:23:00 +01:00
parent 60672bbe48
commit ef4bedb616
No known key found for this signature in database
GPG Key ID: 88B341B55C84B45C

View File

@ -0,0 +1,10 @@
using Bit.Core.AdminConsole.Entities;
namespace Bit.Api.Billing.Models.Responses;
public record OrganizationSponsorshipResponse(bool IsPolicyEnabled)
{
public static OrganizationSponsorshipResponse From(Policy policy)
=> new(policy.Enabled);
}