File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,6 @@ def zammad_webhook_endpoint(request):
107107
108108 wh = Webhook .objects .create (
109109 source = "zammad" ,
110- # Because the webhooks just send full objects without indication
111- # what changed, or what triggered the action, we will custom URLs
112- # for different types of actions.
113- # In other words – how the webhook is processed on the backend
114- # depends the Trigger configuration in zammad.
115- # action=action,
116110 meta = zammad_headers ,
117111 signature = signature ,
118112 content = json .loads (request .body ),
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def action(self):
7676 """
7777 Zammad doesn't give us an action inside the webhook, so we can either
7878 set custom triggers and URLs for every action, or we can try to infer
79- the action from the content of the webhook. For simplcity of the
79+ the action from the content of the webhook. For simplicity of the
8080 overall setup, we are implementing the latter here.
8181
8282 "New Ticket created"? -- has article, and len(article_ids) == 1
You can’t perform that action at this time.
0 commit comments