Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab: Include `checkout_complete` query parameter after checking out (#19763)
Marshall Bowersc19c89e6df1e
diff --git a/crates/collab/src/api/billing.rs b/crates/collab/src/api/billing.rsindex 5b65249e083..d431e4c0435 100644--- a/crates/collab/src/api/billing.rs+++ b/crates/collab/src/api/billing.rs@@ -252,7 +252,10 @@ async fn create_billing_subscription(let default_model = llm_db.model(rpc::LanguageModelProvider::Anthropic, "claude-3-5-sonnet")?;let stripe_model = stripe_billing.register_model(default_model).await?;- let success_url = format!("{}/account", app.config.zed_dot_dev_url());+ let success_url = format!(+ "{}/account?checkout_complete=1",+ app.config.zed_dot_dev_url()+ );let checkout_session_url = stripe_billing.checkout(customer_id, &user.github_login, &stripe_model, &success_url).await?;