1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

Updated invoice history to filter on customerId only (#5175)

This commit is contained in:
Conner Turnbull 2025-01-22 12:26:21 -05:00 committed by GitHub
parent 0e0dd8203a
commit 28a592103d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,6 @@ public class PaymentHistoryService(
var invoices = await stripeAdapter.InvoiceListAsync(new StripeInvoiceListOptions var invoices = await stripeAdapter.InvoiceListAsync(new StripeInvoiceListOptions
{ {
Customer = subscriber.GatewayCustomerId, Customer = subscriber.GatewayCustomerId,
Subscription = subscriber.GatewaySubscriptionId,
Limit = pageSize, Limit = pageSize,
Status = status, Status = status,
StartingAfter = startAfter StartingAfter = startAfter