From 6aaf8d26bb3e2cc3a004fcb1c94ddc85a1fc6a45 Mon Sep 17 00:00:00 2001 From: stuppie Date: Wed, 23 Sep 2026 19:34:12 -0600 Subject: move create_paypal_cashout_method_if_not_exists into fastapi background task. Change CashoutRequest max -> --- jb/models/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jb/models') diff --git a/jb/models/wallet.py b/jb/models/wallet.py index 226e71f..3d4d10b 100644 --- a/jb/models/wallet.py +++ b/jb/models/wallet.py @@ -6,7 +6,7 @@ from pydantic import BaseModel, ConfigDict, Field class CashoutRequest(BaseModel): model_config = ConfigDict(extra="forbid") - amount: USDCent = Field(gt=0, lt=10_00, description="Amount in USD cents") + amount: USDCent = Field(gt=0, le=100_00, description="Amount in USD cents") cashout_method_id: UUIDStr = Field(description="Cashout method ID") -- cgit v1.2.3