]> BookStack Code Mirror - bookstack/blobdiff - app/Settings/SettingService.php
Updated existing image tests to reflect changes
[bookstack] / app / Settings / SettingService.php
index 48ae7d0f24302813b94cce18ef0645b3a9546d38..489963aad7cde7b361ffdecfcb4e7d7edb4e3301 100644 (file)
@@ -75,7 +75,7 @@ class SettingService
      */
     public function getForCurrentUser($key, $default = false)
     {
-        return $this->getUser(auth()->user(), $key, $default);
+        return $this->getUser(user(), $key, $default);
     }
 
     /**