From a9509fc959f473deff9dd564a5971812ee13b0d0 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 22 Aug 2020 12:25:55 +0200 Subject: [PATCH] Pass the repo reference to the Github event --- platypush/message/event/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/message/event/github.py b/platypush/message/event/github.py index 7fae3a843..be15cf971 100644 --- a/platypush/message/event/github.py +++ b/platypush/message/event/github.py @@ -31,7 +31,7 @@ class GithubEvent(Event): actor: Optional[Dict[str, str]] = None, repo: Optional[Dict[str, str]] = None, *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.actor = Actor(**actor) if actor else None self.repo = Repo(**repo) if repo else None