Example #1
0
def get_user(user_id):
    user = UserController.get_user_by_id(user_id)
    return ResponseOK(user)
Example #2
0
def get_connected_user(auth_info):
    user = UserController.get_user_by_id(auth_info['user_id'])
    return ResponseOK(user)