mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 02:52:50 -05:00
UsingInAppPurchase prop on sub models
This commit is contained in:
@ -19,6 +19,7 @@ namespace Bit.Core.Models.Api
|
||||
MaxStorageGb = user.MaxStorageGb;
|
||||
License = license;
|
||||
Expiration = License.Expires;
|
||||
UsingInAppPurchase = subscription.UsingInAppPurchase;
|
||||
}
|
||||
|
||||
public SubscriptionResponseModel(User user, UserLicense license = null)
|
||||
@ -42,6 +43,7 @@ namespace Bit.Core.Models.Api
|
||||
public BillingSubscription Subscription { get; set; }
|
||||
public UserLicense License { get; set; }
|
||||
public DateTime? Expiration { get; set; }
|
||||
public bool UsingInAppPurchase { get; set; }
|
||||
}
|
||||
|
||||
public class BillingSubscription
|
||||
|
Reference in New Issue
Block a user