Skip to content

Commit

Permalink
Make times_used optional due to Paddle bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bgervan committed Aug 6, 2024
1 parent ec8de33 commit 0e9f4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle_billing_client/models/discount.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class DiscountBase(BaseModel):

class Discount(DiscountBase):
id: str
times_used: int
times_used: int | None = None
created_at: datetime | None = None
updated_at: datetime | None = None
external_id: str | None = None
Expand Down

0 comments on commit 0e9f4fa

Please sign in to comment.