From 2ef99ccaed68e7f70f1c2839bf23f36010c8000a Mon Sep 17 00:00:00 2001 From: Dustin Summers Date: Fri, 7 Sep 2018 12:25:00 -0400 Subject: [PATCH] Fixed improper format of make_response The parenthesis would throw an error for an unexpected argument. Moving parenthesis to correct position. --- Lesson2/step6/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lesson2/step6/project.py b/Lesson2/step6/project.py index d5f4d84..96fdc90 100644 --- a/Lesson2/step6/project.py +++ b/Lesson2/step6/project.py @@ -149,7 +149,7 @@ def gdisconnect(): response.headers['Content-Type'] = 'application/json' return response else: - response = make_response(json.dumps('Failed to revoke token for given user.', 400)) + response = make_response(json.dumps('Failed to revoke token for given user.'), 400) response.headers['Content-Type'] = 'application/json' return response