change header X-On-Behalf-Of to From which is new deprecated, see also: https://github.com/zammad/zammad-documentation/pull/644

This commit is contained in:
Matthias Hemmerich 2025-07-26 16:17:14 +02:00
parent 23cecb3097
commit 6dd48b7f40

View file

@ -340,7 +340,7 @@ try:
response = session.post( response = session.post(
urljoin(ZAMMAD_URL, "api/v1/tickets"), urljoin(ZAMMAD_URL, "api/v1/tickets"),
headers={ headers={
"X-On-Behalf-Of": contact_email, "From": contact_email,
}, },
json=dict( json=dict(
title=f"Kontaktformular {contact_name} {form_name}", title=f"Kontaktformular {contact_name} {form_name}",