From c6648080dabd85489d19f90998cceb8bae191bf3 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Fri, 6 Jul 2018 23:57:12 -0500 Subject: [PATCH] Fix a naming issue with the API response --- server/atheneum/api/authentication_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/atheneum/api/authentication_api.py b/server/atheneum/api/authentication_api.py index ed18dd9..9eab1db 100644 --- a/server/atheneum/api/authentication_api.py +++ b/server/atheneum/api/authentication_api.py @@ -37,7 +37,7 @@ def login_bump() -> APIResponse: :return: A time stamp for the bumped login """ user_service.update_last_login_time(g.user) - return APIResponse({'last_login_time': g.user.last_login_time}, 200) + return APIResponse({'lastLoginTime': g.user.last_login_time}, 200) @AUTH_BLUEPRINT.route('/logout', methods=['POST'])