added template to chapter API controller

This commit is contained in:
Sascha 2024-01-29 19:59:03 +01:00 committed by GitHub
parent 64c783c6f8
commit 4a8f70240f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ class ChapterApiController extends ApiController
'description_html' => ['string', 'max:2000'],
'tags' => ['array'],
'priority' => ['integer'],
'default_template_id' => ['nullable', 'integer'],
],
'update' => [
'book_id' => ['integer'],
@ -29,6 +30,7 @@ class ChapterApiController extends ApiController
'description_html' => ['string', 'max:2000'],
'tags' => ['array'],
'priority' => ['integer'],
'default_template_id' => ['nullable', 'integer'],
],
];