This commit is contained in:
Jim LAURIE 2019-12-09 16:38:41 +01:00
parent 63edb61336
commit 679a928674
2 changed files with 7 additions and 7 deletions

View File

@ -101,8 +101,8 @@ strapi.query('restaurant').create({
content: [
{
__component: 'blog.rich-text',
title: 'some title',
subTitle: 'some sub title',
title: 'Some title',
subTitle: 'Some sub title',
},
{
__component: 'blog.quote',
@ -150,8 +150,8 @@ strapi.query('restaurant').update(
content: [
{
__component: 'blog.rich-text',
title: 'some title',
subTitle: 'some sub title',
title: 'Some title',
subTitle: 'Some sub title',
},
{
__component: 'blog.quote',
@ -192,8 +192,8 @@ strapi.query('restaurant').update(
{
__component: 'blog.rich-text',
id: 1,
title: 'some title',
subTitle: 'some sub title',
title: 'Some title',
subTitle: 'Some sub title',
},
{
__component: 'blog.quote',

View File

@ -56,7 +56,7 @@ As an **example** let's consider the following models:
| :---------- | :----- | :------------------- |
| image | media | The image file |
| title | string | the image title |
| description | text | the image dscription |
| description | text | the image description |
:::