aboutsummaryrefslogtreecommitdiffstats
path: root/pysite
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-11 17:30:15 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-11 17:30:15 +0000
commit1239c945a11b2b7066a1ae2cc019e5ca038d0267 (patch)
treeb075437bfdacc4a5c686ad9fa9d4857db7d373d3 /pysite
parentRemove key verification webhook message (diff)
You can't rename kwargs, stupid!
Diffstat (limited to 'pysite')
-rw-r--r--pysite/views/api/asana.py4
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