mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
license dates
This commit is contained in:
@ -10,7 +10,6 @@ using Bit.Core.Services;
|
||||
using Bit.Core;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Bit.Core.Models.Table;
|
||||
using Bit.Core.Utilities;
|
||||
using Bit.Api.Utilities;
|
||||
using Bit.Core.Models.Business;
|
||||
|
||||
@ -114,7 +113,9 @@ namespace Bit.Api.Controllers
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
return new OrganizationLicense(organization, installationId, _licensingService);
|
||||
var paymentService = new StripePaymentService();
|
||||
var billingInfo = await paymentService.GetBillingAsync(organization);
|
||||
return new OrganizationLicense(organization, billingInfo, installationId, _licensingService);
|
||||
}
|
||||
|
||||
[HttpGet("")]
|
||||
|
Reference in New Issue
Block a user