ping
events don't need to know full_name
of repo (github.py)
This commit is contained in:
parent
588b54b40b
commit
2a7df864ef
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue