def get_user(user_id): user = UserController.get_user_by_id(user_id) return ResponseOK(user)
def get_connected_user(auth_info): user = UserController.get_user_by_id(auth_info['user_id']) return ResponseOK(user)
def get_user(user_id): user = UserController.get_user_by_id(user_id) return ResponseOK(user)
def get_connected_user(auth_info): user = UserController.get_user_by_id(auth_info['user_id']) return ResponseOK(user)