

@route(bp, '/<store_id>/managers/<user_id>', methods=['PUT'])
def add_manager(store_id, user_id):
    (store, manager) = _stores.add_manager(_stores.get_or_404(store_id), _users.get_or_404(user_id))
    send_manager_added_email.delay(manager.email)
    return store

dataset/ETHPy150Open mattupstate/overholt/overholt/api/stores.py add_manager/original