From 053dc5d1a3a30b5ff3f1d4bd1201af82860ccd07 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 5 Aug 2024 17:21:50 -0500 Subject: minor code formatting. --- gn2/wqflask/oauth2/toplevel.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gn2/wqflask') diff --git a/gn2/wqflask/oauth2/toplevel.py b/gn2/wqflask/oauth2/toplevel.py index c6b789aa..24d60311 100644 --- a/gn2/wqflask/oauth2/toplevel.py +++ b/gn2/wqflask/oauth2/toplevel.py @@ -83,9 +83,8 @@ def authorisation_code(): }) return redirect("/") - return no_token_post( - "auth/token", json=request_data).either( - lambda err: __error__(process_error(err)), __success__) + return no_token_post("auth/token", json=request_data).either( + lambda err: __error__(process_error(err)), __success__) flash("AuthorisationError: No code was provided.", "alert-danger") return redirect("/") -- cgit v1.2.3