]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/BookshelfController.php
New translations entities.php (Hebrew)
[bookstack] / app / Http / Controllers / BookshelfController.php
index 121110e8335d83cff6cc67e04a1efaf636dab5f2..a294bf7318c2a35a44d42ff3772b15f900a5123d 100644 (file)
@@ -87,6 +87,7 @@ class BookshelfController extends Controller
             'name'        => ['required', 'string', 'max:255'],
             'description' => ['string', 'max:1000'],
             'image'       => array_merge(['nullable'], $this->getImageValidationRules()),
+            'tags'        => ['array'],
         ]);
 
         $bookIds = explode(',', $request->get('books', ''));
@@ -163,6 +164,7 @@ class BookshelfController extends Controller
             'name'        => ['required', 'string', 'max:255'],
             'description' => ['string', 'max:1000'],
             'image'       => array_merge(['nullable'], $this->getImageValidationRules()),
+            'tags'        => ['array'],
         ]);
 
         if ($request->has('image_reset')) {