From 015398d887198f7bcd05b74954b4054ec91f3f71 Mon Sep 17 00:00:00 2001 From: stuppie Date: Fri, 30 Oct 2026 12:51:29 -0600 Subject: giftbit fix description --- generalresearch/managers/thl/giftbit.py | 3 +-- generalresearch/models/thl/wallet/cashout_method.py | 1 - 2 files changed, 1 insertion(+), 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): -- cgit v1.2.3