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) {
// automatically uploads the files based on the entry and the model
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')
});
return this.findOne({ id: entry.id });
@ -214,7 +214,7 @@ module.exports = {
#### `search`
```js
```jsgit s
module.exports = {
/**
* Promise to search records