Chapters API: Added missing book_slug field

Was removed during previous changes, but reflected in response examples.
This adds into all standard single chapter responses.
For #4765
This commit is contained in:
Dan Brown
2024-01-16 12:06:13 +00:00
parent afbbcafd44
commit adf1806fea
4 changed files with 13 additions and 7 deletions

View File

@ -11,6 +11,7 @@
"updated_by": 1,
"owned_by": 1,
"description_html": "<p>This is a <strong>great new chapter<\/strong> that I've created via the API<\/p>",
"book_slug": "example-book",
"tags": [
{
"name": "Category",

View File

@ -11,6 +11,7 @@
"updated_by": 1,
"owned_by": 1,
"description_html": "<p>This is an <strong>updated chapter<\/strong> that I've altered via the API<\/p>",
"book_slug": "example-book",
"tags": [
{
"name": "Category",