1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-07 14:08:13 -05:00

pass down version properly to generate license (#880)

This commit is contained in:
Kyle Spearrin 2020-08-20 10:12:27 -04:00 committed by GitHub
parent 8383a0866f
commit a8c20d1c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1313,7 +1313,7 @@ namespace Bit.Core.Services
}
var subInfo = await _paymentService.GetSubscriptionAsync(organization);
return new OrganizationLicense(organization, subInfo, installationId, _licensingService);
return new OrganizationLicense(organization, subInfo, installationId, _licensingService, version);
}
public async Task ImportAsync(Guid organizationId,