diff options
| author | stuppie | 2026-11-02 14:24:17 -0600 |
|---|---|---|
| committer | stuppie | 2026-11-02 14:24:17 -0600 |
| commit | 74f4a19f0e9d2af1643183afb14813b92afd577c (patch) | |
| tree | 79eaef76f43f82297c02d52653a321ea0087eb9d | |
| parent | e7140ab1ebddd2e37185d153783cfb686bece162 (diff) | |
| download | generalresearch-f756a3f00db0033b9286c2e28d22c7144696c202.tar.gz generalresearch-f756a3f00db0033b9286c2e28d22c7144696c202.zip | |
| -rw-r--r-- | generalresearch/managers/thl/wallet/user_payout.py | 8 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/generalresearch/managers/thl/wallet/user_payout.py b/generalresearch/managers/thl/wallet/user_payout.py index 56daead..c25d8ab 100644 --- a/generalresearch/managers/thl/wallet/user_payout.py +++ b/generalresearch/managers/thl/wallet/user_payout.py @@ -227,6 +227,14 @@ class UserPayoutEventManager(PayoutEventManager): if "redemptionInstructions" in reward: reward["redemption_instructions"] = reward.pop("redemptionInstructions") transaction_info = order["reward"] + elif ( + pe.payout_type == PayoutType.GIFTBIT and pe.status == PayoutStatus.COMPLETE + ): + transaction_info = { + "expiry": order["expiry"], + "message": order["message"], + "direct_link": order["direct_link"], + } elif pe.payout_type == PayoutType.PAYPAL and pe.status == PayoutStatus.COMPLETE: info = {"transaction_id": order["transaction_id"]} transaction_info = info diff --git a/pyproject.toml b/pyproject.toml index 1e3acad..291e926 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "generalresearch" -version = "3.9.8" +version = "3.9.9" description = "Python Utilities for General Research" readme = "README.md" requires-python = ">=3.14" |
