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:
Marshall Bowers
2025-05-03 14:57:54 +00:00
committed by GitHub
parent 7f8e3fd482
commit 12c26a4fa6
3 changed files with 102 additions and 50 deletions
+1
View File
@@ -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,
)