collab: Add POST /users/:id/update_plan
endpoint (#34953)
This PR adds a new `POST /users/:id/update_plan` endpoint to Collab to allow Cloud to push down plan updates to users. Release Notes: - N/A
This commit is contained in:
parent
326ab5fa3f
commit
14171e0721
3 changed files with 101 additions and 10 deletions
|
@ -785,7 +785,7 @@ async fn handle_customer_subscription_event(
|
|||
|
||||
// When the user's subscription changes, push down any changes to their plan.
|
||||
rpc_server
|
||||
.update_plan_for_user(billing_customer.user_id)
|
||||
.update_plan_for_user_legacy(billing_customer.user_id)
|
||||
.await
|
||||
.trace_err();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue