mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-27 06:01:54 +03:00
Remove redundant getImageValidationRules method
This commit is contained in:
@ -146,7 +146,7 @@ class BookshelfController extends Controller
|
||||
$this->validate($request, [
|
||||
'name' => 'required|string|max:255',
|
||||
'description' => 'string|max:1000',
|
||||
'image' => $this->imageRepo->getImageValidationRules(),
|
||||
'image' => $this->getImageValidationRules(),
|
||||
]);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user