diff options
| author | stuppie | 2026-09-23 19:34:12 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-23 19:34:12 -0600 |
| commit | 6aaf8d26bb3e2cc3a004fcb1c94ddc85a1fc6a45 (patch) | |
| tree | 2063d4a901f4929ebe49840914a23e414b845bb1 /jb/models/wallet.py | |
| parent | 785adc51b2cc2b4d3e845a454f38b2a5197cc7f0 (diff) | |
| download | amt-jb-6aaf8d26bb3e2cc3a004fcb1c94ddc85a1fc6a45.tar.gz amt-jb-6aaf8d26bb3e2cc3a004fcb1c94ddc85a1fc6a45.zip | |
move create_paypal_cashout_method_if_not_exists into fastapi background task. Change CashoutRequest max ->
Diffstat (limited to 'jb/models/wallet.py')
| -rw-r--r-- | jb/models/wallet.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
