Move webhook handlers to stripe routes

This commit is contained in:
Jon Staab
2026-05-21 15:07:31 -07:00
parent c02d834fe0
commit f67ef5bca2
4 changed files with 337 additions and 348 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ async fn main() -> Result<()> {
let stripe = Stripe::new(&env);
let query = Query::new(pool.clone(), &env);
let command = Command::new(pool);
let billing = Billing::new(query.clone(), command.clone(), robot.clone(), &env);
let billing = Billing::new(query.clone(), command.clone(), &env);
let infra = Infra::new(query.clone(), command.clone(), &env);
let api = Api::new(query, command, billing.clone(), stripe, robot, infra.clone(), &env);