diff options
author | Frederick Muriuki Muriithi | 2024-08-02 16:26:19 -0500 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:46 +0300 |
commit | b3f1bb33177dbccbdf564506e367c4315e8803fc (patch) | |
tree | 0589184f542ce99a491fe56adc036d02db5539f0 /gn2 | |
parent | 153637a59a8123a6c69afcec0bc99dda1ea825eb (diff) | |
download | genenetwork2-b3f1bb33177dbccbdf564506e367c4315e8803fc.tar.gz |
Consistently use JSON for all endpoints.
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/oauth2/toplevel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/toplevel.py b/gn2/wqflask/oauth2/toplevel.py index 7ee0773d..bc40a924 100644 --- a/gn2/wqflask/oauth2/toplevel.py +++ b/gn2/wqflask/oauth2/toplevel.py @@ -84,7 +84,7 @@ def authorisation_code(): return redirect("/") return no_token_post( - "auth/token", data=request_data).either( + "auth/token", json=request_data).either( lambda err: __error__(process_error(err)), __success__) flash("AuthorisationError: No code was provided.", "alert-danger") return redirect("/") |