mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
tool to generate licenses (#874)
* tool to generate licenses * code review feedback
This commit is contained in:
@ -17,9 +17,9 @@ namespace Bit.Core.Models.Business
|
||||
{ }
|
||||
|
||||
public OrganizationLicense(Organization org, SubscriptionInfo subscriptionInfo, Guid installationId,
|
||||
ILicensingService licenseService)
|
||||
ILicensingService licenseService, int? version = null)
|
||||
{
|
||||
Version = 6; // TODO: bump to version 7
|
||||
Version = version.GetValueOrDefault(6); // TODO: bump to version 7
|
||||
LicenseKey = org.LicenseKey;
|
||||
InstallationId = installationId;
|
||||
Id = org.Id;
|
||||
|
Reference in New Issue
Block a user