add: webhook
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from events.WebhookEventHandlers import WebhookEventHandler
|
||||
|
||||
|
||||
class PathWebhookEventHandler(WebhookEventHandler):
|
||||
def __init__(self, event_type):
|
||||
super().__init__(event_type)
|
||||
|
||||
def get_path_id(self, payload):
|
||||
return payload["id"]
|
||||
Reference in New Issue
Block a user