Skip to content

Commit 4fd0c28

Browse files
committed
fix comments
1 parent 91a48c4 commit 4fd0c28

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

intbot/core/endpoints/webhooks.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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),

intbot/core/integrations/zammad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)