def get_joined_chows(): token = request.headers['Access-Token'] return ChowController.get_joined_chows(token)
def create_chow(): return ChowController.create_chow(request.json)
def unjoin_chow(chow_id): token = request.headers['Access-Token'] return ChowController.unjoin_chow(chow_id, token)
def delete_chow(chow_id): return ChowController.delete_chow(chow_id)
def update_chow(chow_id): return ChowController.update_chow(chow_id, request.json)
def get_chow(chow_id): return ChowController.get_chow(chow_id)
def get_chows(): return ChowController.get_chows()