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):
107
107
108
108
wh = Webhook .objects .create (
109
109
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,
116
110
meta = zammad_headers ,
117
111
signature = signature ,
118
112
content = json .loads (request .body ),
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def action(self):
76
76
"""
77
77
Zammad doesn't give us an action inside the webhook, so we can either
78
78
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
80
80
overall setup, we are implementing the latter here.
81
81
82
82
"New Ticket created"? -- has article, and len(article_ids) == 1
You can’t perform that action at this time.
0 commit comments