mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-23 07:10:00 +08:00
Removed some unused parameters and fixed env test logic
This commit is contained in:
@ -199,7 +199,7 @@ class BookController extends Controller
|
||||
'image' => $this->imageRepo->getImageValidationRules(),
|
||||
]);
|
||||
|
||||
$book = $this->bookRepo->updateFromInput('book', $book, $request->all());
|
||||
$book = $this->bookRepo->updateFromInput($book, $request->all());
|
||||
$this->bookUpdateActions($book, $request);
|
||||
|
||||
Activity::add($book, 'book_update', $book->id);
|
||||
|
Reference in New Issue
Block a user