Skip to content

Commit

Permalink
fix typo (#1423)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe authored Feb 5, 2025
1 parent bb80436 commit afb8179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stripe/v2/_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ class RelatedObject:

def __init__(self, d) -> None:
self.id = d["id"]
self.type_ = d["type"]
self.type = d["type"]
self.url = d["url"]

def __repr__(self) -> str:
return f"<RelatedObject id={self.id} type={self.type_} url={self.url}>"
return f"<RelatedObject id={self.id} type={self.type} url={self.url}>"


class ThinEvent:
Expand Down

0 comments on commit afb8179

Please sign in to comment.