]> BookStack Code Mirror - bookstack/blobdiff - app/Activity/Controllers/WatchController.php
Fixed OIDC Logout
[bookstack] / app / Activity / Controllers / WatchController.php
index 43908812b60fb3874bb56b03f5fb4f0584518172..3d7e18116bec0b404bd8dd804480c23ab150376d 100644 (file)
@@ -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'));