diff options
| author | stuppie | 2026-09-21 12:56:11 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-21 12:56:11 -0600 |
| commit | 414ca0b8d1b55214ca2931906280e5a9ef411e45 (patch) | |
| tree | 1a6ef57278c122846c101c3276bf8352553a110a | |
| parent | 0221b58098996704ec8a174937477ccf30bab11a (diff) | |
| download | generalresearch-3.5.2.tar.gz generalresearch-3.5.2.zip | |
fix user ledger txs view with paypal requestv3.5.2
| -rw-r--r-- | generalresearch/models/thl/ledger.py | 2 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/generalresearch/models/thl/ledger.py b/generalresearch/models/thl/ledger.py index 4160e98..0db457f 100644 --- a/generalresearch/models/thl/ledger.py +++ b/generalresearch/models/thl/ledger.py @@ -382,6 +382,8 @@ class LedgerTransaction(BaseModel): d["description"] = "HIT Bonus" elif payout_type == PayoutType.TANGO: d["description"] = "Tango" + elif payout_type == PayoutType.PAYPAL: + d["description"] = "PayPal" else: raise ValueError(payout_type) return UserLedgerTransactionUserPayout.model_validate(d) diff --git a/pyproject.toml b/pyproject.toml index f42f5b0..9af44b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "generalresearch" -version = "3.5.1" +version = "3.5.2" description = "Python Utilities for General Research" readme = "README.md" requires-python = ">=3.14" |
