1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -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

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,