From ed2a9f40e6b188584b7f7c16dadb8fc1b534bd62 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 31 Jul 2021 07:30:53 +0200 Subject: [PATCH] dffd --- drama/routes/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drama/routes/oauth.py b/drama/routes/oauth.py index e60c8b96d..716790cf7 100644 --- a/drama/routes/oauth.py +++ b/drama/routes/oauth.py @@ -218,7 +218,7 @@ def oauth_grant(): return data else: - return {"oauth_error": f"Invalid grant_type `{request.values.get('grant_type',''}`. Expected `code` or `refresh`."}), 400 + return {"oauth_error": f"Invalid grant_type `{request.values.get('grant_type','')}`. Expected `code` or `refresh`."}, 400 @app.post("/api_keys")