collab: Don't try to transfer usage when a Zed Pro trial is canceled (#29843)
This PR fixes an issue where we would erroneously try to transfer existing subscription usage when a Zed Pro trial was canceled. Release Notes: - N/A
This commit is contained in:
parent
7f8e3fd482
commit
12c26a4fa6
3 changed files with 102 additions and 50 deletions
|
@ -1040,6 +1040,7 @@ async fn handle_customer_subscription_event(
|
|||
billing_customer.user_id,
|
||||
&existing_subscription,
|
||||
subscription_kind,
|
||||
subscription.status.into(),
|
||||
new_period_start_at,
|
||||
new_period_end_at,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue