Skip to content

Commit

Permalink
Fix type of ErrorObject.code (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Feb 23, 2024
1 parent 58feb24 commit 341b23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stripe/_error_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class ErrorObject(StripeObject):
charge: Optional[str]
code: int
code: Optional[str]
decline_code: Optional[str]
doc_url: Optional[str]
message: Optional[str]
Expand Down

0 comments on commit 341b23f

Please sign in to comment.