aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generalresearch/models/thl/ledger.py2
-rw-r--r--pyproject.toml2
2 files changed, 3 insertions, 1 deletions
diff --git a/generalresearch/models/thl/ledger.py b/generalresearch/models/thl/ledger.py
index fddd12b..cd47209 100644
--- a/generalresearch/models/thl/ledger.py
+++ b/generalresearch/models/thl/ledger.py
@@ -384,6 +384,8 @@ class LedgerTransaction(BaseModel):
d["description"] = "Tango"
elif payout_type == PayoutType.PAYPAL:
d["description"] = "PayPal"
+ elif payout_type in {PayoutType.GIFTBIT, PayoutType.GIFTRONAUT, PayoutType.GIFTED, PayoutType.VIRTUAL_INCENTIVES}:
+ d["description"] = payout_type.value
else:
raise ValueError(payout_type)
return UserLedgerTransactionUserPayout.model_validate(d)
diff --git a/pyproject.toml b/pyproject.toml
index a75569c..5ff035e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "generalresearch"
-version = "4.0.1"
+version = "4.0.3"
description = "Python Utilities for General Research"
readme = "README.md"
requires-python = ">=3.14"