Remove some stripe proxy methods

This commit is contained in:
Jon Staab
2026-05-21 14:29:38 -07:00
parent e6cbfb361e
commit c02d834fe0
6 changed files with 23 additions and 33 deletions
+8 -2
View File
@@ -65,9 +65,15 @@ pub async fn create_tenant(
return ok(TenantResponse::from(t));
}
let display_name = api
.robot
.fetch_nostr_name(&pubkey)
.await
.unwrap_or(pubkey.chars().take(8).collect());
let stripe_customer_id = api
.billing
.stripe_create_customer(&pubkey)
.stripe
.create_customer(&pubkey, &display_name)
.await
.map_err(internal)?;