diff options
| -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): |
