added template to chapter API controller
This commit is contained in:
parent
64c783c6f8
commit
4a8f70240f
1 changed files with 14 additions and 12 deletions
|
@ -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'],
|
||||
],
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue