ping events don't need to know full_name of repo (github.py)

This commit is contained in:
jesopo 2019-01-17 14:50:23 +00:00
parent 588b54b40b
commit 2a7df864ef

View file

@ -205,7 +205,7 @@ class Module(ModuleManager.BaseModule):
elif github_event == "fork":
outputs = self.fork(event, full_name, data)
elif github_event == "ping":
outputs = self.ping(event, full_name, data)
outputs = self.ping(event, data)
elif github_event == "membership":
outputs = self.membership(event, organisation, data)
@ -229,7 +229,7 @@ class Module(ModuleManager.BaseModule):
except utils.http.HTTPTimeoutException:
return url
def ping(self, event, full_name, data):
def ping(self, event, data):
return ["Received new webhook"]
def _change_count(self, n, symbol, color):