minor fix - removing useless input

This commit is contained in:
Jet Li 2025-01-28 08:13:02 +00:00
parent 0b4a4a6173
commit 4f159221d3

View File

@ -194,7 +194,6 @@ async def invoke_checkout_session_webhook(event: dict):
summary="Handle Stripe account webhook events",
)
async def handle_account_webhook(
request: Request,
event: dict
):
try:
@ -205,8 +204,7 @@ async def handle_account_webhook(
details_submitted=session["details_submitted"],
payouts_enabled=session["payouts_enabled"],
charges_enabled=session["charges_enabled"]
)
)
except Exception as e:
raise HTTPException(status_code=400, detail=str(e))