X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/565908ef52f640f8028f71c7448abea939f31c1f..refs/pull/4467/head:/app/Activity/Controllers/WatchController.php diff --git a/app/Activity/Controllers/WatchController.php b/app/Activity/Controllers/WatchController.php index 43908812b..3d7e18116 100644 --- a/app/Activity/Controllers/WatchController.php +++ b/app/Activity/Controllers/WatchController.php @@ -23,7 +23,7 @@ class WatchController extends Controller $watchable = $this->getValidatedModelFromRequest($request); $watchOptions = new UserEntityWatchOptions(user(), $watchable); - $watchOptions->updateWatchLevel($requestData['level']); + $watchOptions->updateLevelByName($requestData['level']); $this->showSuccessNotification(trans('activities.watch_update_level_notification'));