Update st2api/st2api/controllers/v1/webhooks.py
@@ -172,7 +172,7 @@ class WebhooksController(object):
payload = {}
payload["headers"] = headers
- payload["headers_lower"] = dict((k.lower(), v) for k, v in headers.items())
+ payload["headers_lower"] = {k.lower(): v for k, v in headers.items()}
payload["body"] = body
# Dispatch trigger instance for each of the trigger found
