From 1239c945a11b2b7066a1ae2cc019e5ca038d0267 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sun, 11 Feb 2018 17:30:15 +0000 Subject: You can't rename kwargs, stupid! --- pysite/views/api/asana.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pysite') 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 -- cgit v1.2.3