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/managers/thl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jb/managers/thl.py') diff --git a/jb/managers/thl.py b/jb/managers/thl.py index 191a56b..96f624e 100644 --- a/jb/managers/thl.py +++ b/jb/managers/thl.py @@ -26,7 +26,7 @@ def user_cashout_request( product_user_id: str, amount: USDCent, cashout_method_id: str ) -> CashoutRequestInfo: assert isinstance(amount, USDCent) - assert USDCent(0) < amount < USDCent(10_00) + assert USDCent(0) < amount <= USDCent(100_00) url = f"{settings.fsb_host}{settings.product_id}/cashout/" body: dict[str, str | int] = { -- cgit v1.2.3