diff options
| author | stuppie | 2026-10-30 12:51:29 -0600 |
|---|---|---|
| committer | stuppie | 2026-10-30 12:51:29 -0600 |
| commit | 015398d887198f7bcd05b74954b4054ec91f3f71 (patch) | |
| tree | 31f4410185ebe1bfb5039f86169693519e463b76 | |
| parent | b77c6584c8ba8cdf432590b3bc9bb4d36114787c (diff) | |
| download | generalresearch-015398d887198f7bcd05b74954b4054ec91f3f71.tar.gz generalresearch-015398d887198f7bcd05b74954b4054ec91f3f71.zip | |
giftbit fix description
| -rw-r--r-- | generalresearch/managers/thl/giftbit.py | 3 | ||||
| -rw-r--r-- | generalresearch/models/thl/wallet/cashout_method.py | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/generalresearch/managers/thl/giftbit.py b/generalresearch/managers/thl/giftbit.py index c3974e4..96b5241 100644 --- a/generalresearch/managers/thl/giftbit.py +++ b/generalresearch/managers/thl/giftbit.py @@ -217,7 +217,7 @@ class GiftbitClient: return CashoutMethod( name=c["name"], - description=c["name"], + description=c["description"], id=uuid4().hex, currency=Currency.USD, original_currency=currency, @@ -232,7 +232,6 @@ class GiftbitClient: allowed_prices_in_cents=c.get("allowed_prices_in_cents"), countries=countries, disclaimer=c["disclaimer"], - description=c["description"], ), type=PayoutType.GIFTBIT, user=None, diff --git a/generalresearch/models/thl/wallet/cashout_method.py b/generalresearch/models/thl/wallet/cashout_method.py index 6ae4a75..8ad02f5 100644 --- a/generalresearch/models/thl/wallet/cashout_method.py +++ b/generalresearch/models/thl/wallet/cashout_method.py @@ -352,7 +352,6 @@ class GiftbitCashoutMethodData(BaseModel): allowed_prices_in_cents: list[int] | None = Field(default=None) countries: list[str] | None= Field(description="None means global") disclaimer: str = Field(default="") - description: str = Field(default="") class GiftbitCashoutMethodRequestData(BaseModel): |
