mirror of
https://github.com/bitwarden/server.git
synced 2025-06-16 07:50:49 -05:00
Revert the changes on the organizationsale
This commit is contained in:
parent
3d8fa0166c
commit
cef2550910
@ -45,18 +45,11 @@ public class OrganizationSale
|
||||
|
||||
public static OrganizationSale From(
|
||||
Organization organization,
|
||||
OrganizationUpgrade upgrade)
|
||||
{
|
||||
var customerSetup = string.IsNullOrEmpty(organization.GatewayCustomerId) ? GetCustomerSetup(upgrade) : null;
|
||||
var subscriptionSetup = GetSubscriptionSetup(upgrade);
|
||||
|
||||
return new OrganizationSale
|
||||
OrganizationUpgrade upgrade) => new()
|
||||
{
|
||||
Organization = organization,
|
||||
CustomerSetup = customerSetup,
|
||||
SubscriptionSetup = subscriptionSetup
|
||||
SubscriptionSetup = GetSubscriptionSetup(upgrade)
|
||||
};
|
||||
}
|
||||
|
||||
private static CustomerSetup GetCustomerSetup(OrganizationSignup signup)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user