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", summary="Handle Stripe account webhook events",
) )
async def handle_account_webhook( async def handle_account_webhook(
request: Request,
event: dict event: dict
): ):
try: try:
@ -206,7 +205,6 @@ async def handle_account_webhook(
payouts_enabled=session["payouts_enabled"], payouts_enabled=session["payouts_enabled"],
charges_enabled=session["charges_enabled"] charges_enabled=session["charges_enabled"]
) )
except Exception as e: except Exception as e:
raise HTTPException(status_code=400, detail=str(e)) raise HTTPException(status_code=400, detail=str(e))