Browse Source

Fix a naming issue with the API response

merge-requests/1/head
Drew Short 6 years ago
parent
commit
c6648080da
  1. 2
      server/atheneum/api/authentication_api.py

2
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'])

Loading…
Cancel
Save