mirror of
https://github.com/strapi/strapi.git
synced 2025-09-03 13:50:38 +00:00
docs: fix typo
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
This commit is contained in:
parent
8daf68f976
commit
eb048eef93
@ -173,7 +173,7 @@ module.exports = {
|
|||||||
if (files) {
|
if (files) {
|
||||||
// automatically uploads the files based on the entry and the model
|
// automatically uploads the files based on the entry and the model
|
||||||
await strapi.entityService.uploadFiles(entry, files, {
|
await strapi.entityService.uploadFiles(entry, files, {
|
||||||
model: 'restaurant,
|
model: 'restaurant',
|
||||||
// if you are using a plugin's model you will have to add the `plugin` key (plugin: 'users-permissions')
|
// if you are using a plugin's model you will have to add the `plugin` key (plugin: 'users-permissions')
|
||||||
});
|
});
|
||||||
return this.findOne({ id: entry.id });
|
return this.findOne({ id: entry.id });
|
||||||
@ -214,7 +214,7 @@ module.exports = {
|
|||||||
|
|
||||||
#### `search`
|
#### `search`
|
||||||
|
|
||||||
```js
|
```jsgit s
|
||||||
module.exports = {
|
module.exports = {
|
||||||
/**
|
/**
|
||||||
* Promise to search records
|
* Promise to search records
|
||||||
|
Loading…
x
Reference in New Issue
Block a user