collab: Use StripeClient
in StripeBilling::subscribe_to_price
(#31631)
This PR updates the `StripeBilling::subscribe_to_price` method to use the `StripeClient` trait. Release Notes: - N/A
This commit is contained in:
parent
d5134062ac
commit
00bdebc89d
6 changed files with 306 additions and 30 deletions
|
@ -1578,7 +1578,7 @@ async fn sync_model_request_usage_with_stripe(
|
|||
};
|
||||
|
||||
stripe_billing
|
||||
.subscribe_to_price(&stripe_subscription_id, price)
|
||||
.subscribe_to_price(&stripe_subscription_id.into(), price)
|
||||
.await?;
|
||||
stripe_billing
|
||||
.bill_model_request_usage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue