mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05:00
fix the trailing issue when autoscaling (#3889)
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
parent
532b70e26c
commit
dd21d8fcf4
@ -788,7 +788,7 @@ public class StripePaymentService : IPaymentService
|
|||||||
ProrationDate = prorationDate,
|
ProrationDate = prorationDate,
|
||||||
};
|
};
|
||||||
var immediatelyInvoice = false;
|
var immediatelyInvoice = false;
|
||||||
if (!invoiceNow && isPm5864DollarThresholdEnabled)
|
if (!invoiceNow && isPm5864DollarThresholdEnabled && sub.Status.Trim() != "trialing")
|
||||||
{
|
{
|
||||||
var upcomingInvoiceWithChanges = await _stripeAdapter.InvoiceUpcomingAsync(new UpcomingInvoiceOptions
|
var upcomingInvoiceWithChanges = await _stripeAdapter.InvoiceUpcomingAsync(new UpcomingInvoiceOptions
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user