diff options
author | 2018-02-11 17:30:15 +0000 | |
---|---|---|
committer | 2018-02-11 17:30:15 +0000 | |
commit | 1239c945a11b2b7066a1ae2cc019e5ca038d0267 (patch) | |
tree | b075437bfdacc4a5c686ad9fa9d4857db7d373d3 | |
parent | Remove key verification webhook message (diff) |
You can't rename kwargs, stupid!
-rw-r--r-- | pysite/views/api/asana.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysite/views/api/asana.py b/pysite/views/api/asana.py index 4424367b..a25d99b3 100644 --- a/pysite/views/api/asana.py +++ b/pysite/views/api/asana.py @@ -77,7 +77,7 @@ class IndexView(APIView): session.post(ASANA_WEBHOOK, json={"embeds": [embed]}) - def asana_unknown(self, *, resource, parent, created_at, user, action, _type): + def asana_unknown(self, *, resource, parent, created_at, user, action, type): pretty_event = json.dumps( { "resource": resource, @@ -85,7 +85,7 @@ class IndexView(APIView): "created_at": created_at, "user": user, "action": action, - "type": _type + "type": type }, indent=4, sort_key=True |