|
@ -37,7 +37,7 @@ def login_bump() -> APIResponse: |
|
|
:return: A time stamp for the bumped login |
|
|
:return: A time stamp for the bumped login |
|
|
""" |
|
|
""" |
|
|
user_service.update_last_login_time(g.user) |
|
|
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']) |
|
|
@AUTH_BLUEPRINT.route('/logout', methods=['POST']) |
|
|