Pass the repo reference to the Github event
This commit is contained in:
parent
2dc8fe9437
commit
a9509fc959
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class GithubEvent(Event):
|
||||||
actor: Optional[Dict[str, str]] = None,
|
actor: Optional[Dict[str, str]] = None,
|
||||||
repo: Optional[Dict[str, str]] = None,
|
repo: Optional[Dict[str, str]] = None,
|
||||||
*args, **kwargs):
|
*args, **kwargs):
|
||||||
super().__init__(*args, actor=actor, event_type=event_type, created_at=created_at, **kwargs)
|
super().__init__(*args, actor=actor, event_type=event_type, repo=repo, created_at=created_at, **kwargs)
|
||||||
self.event_type = event_type
|
self.event_type = event_type
|
||||||
self.actor = Actor(**actor) if actor else None
|
self.actor = Actor(**actor) if actor else None
|
||||||
self.repo = Repo(**repo) if repo else None
|
self.repo = Repo(**repo) if repo else None
|
||||||
|
|
Loading…
Reference in a new issue