docs: fix typo

Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
This commit is contained in:
Jim LAURIE 2020-04-13 15:01:21 +02:00
parent 8daf68f976
commit eb048eef93

View File

@ -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