1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 11:13:27 +00:00

Expand coupon.applies_to (#6554)

This commit is contained in:
Alex Morask
2025-11-07 13:05:05 -06:00
committed by GitHub
parent d1fecc2a0f
commit 22fe50c67a

View File

@@ -641,7 +641,7 @@ public class StripePaymentService : IPaymentService
}
var subscription = await _stripeAdapter.SubscriptionGetAsync(subscriber.GatewaySubscriptionId,
new SubscriptionGetOptions { Expand = ["customer", "discounts", "test_clock"] });
new SubscriptionGetOptions { Expand = ["customer.discount.coupon.applies_to", "discounts.coupon.applies_to", "test_clock"] });
subscriptionInfo.Subscription = new SubscriptionInfo.BillingSubscription(subscription);