mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge pull request #423 from PhyberApex/patch-2
Fix for #421 / Webhook missing positional argiment
This commit is contained in:
@ -177,7 +177,7 @@ class Handler(BaseHTTPRequestHandler):
|
|||||||
groups = matches.groups()
|
groups = matches.groups()
|
||||||
plugin_name = groups[0]
|
plugin_name = groups[0]
|
||||||
right_path = groups[1] if len(groups) == 2 else None
|
right_path = groups[1] if len(groups) == 2 else None
|
||||||
plugins.one(plugin_name, 'webhook', right_path)
|
plugins.one(plugin_name, 'webhook', self, right_path)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.send_response(404)
|
self.send_response(404)
|
||||||
|
Reference in New Issue
Block a user