1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 09:32:48 -05:00

Pay 0 cost invoices that have not been paid (#1739)

This commit is contained in:
Matt Gibson
2021-12-01 14:41:05 -06:00
committed by GitHub
parent 757927e02a
commit dc3d70cf3a
3 changed files with 8 additions and 2 deletions

View File

@ -101,7 +101,7 @@ namespace Bit.Core.Services
return _invoiceService.SendInvoiceAsync(id, options);
}
public Task<Stripe.Invoice> InvoicePayAsync(string id, Stripe.InvoicePayOptions options)
public Task<Stripe.Invoice> InvoicePayAsync(string id, Stripe.InvoicePayOptions options = null)
{
return _invoiceService.PayAsync(id, options);
}