diff options
author | 2018-02-11 17:31:22 +0000 | |
---|---|---|
committer | 2018-02-11 17:31:22 +0000 | |
commit | a6b6d868717ad2b777eac597ef70b34f1a3b2a3f (patch) | |
tree | 7e38a67ebcf4e7c9adda9cfef256181b48ff4b6f | |
parent | You can't rename kwargs, stupid! (diff) |
Perhaps adding the `s` to `sort_keys` would help as well.
-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 a25d99b3..ef213f38 100644 --- a/pysite/views/api/asana.py +++ b/pysite/views/api/asana.py @@ -44,7 +44,7 @@ class IndexView(APIView): try: func(**event) except Exception as e: - pretty_event = json.dumps(event, indent=4, sort_key=True) + pretty_event = json.dumps(event, indent=4, sort_keys=True) try: self.send_webhook( @@ -88,7 +88,7 @@ class IndexView(APIView): "type": type }, indent=4, - sort_key=True + sort_keys=True ) self.send_webhook( |