mirror of
https://github.com/strapi/strapi.git
synced 2025-09-02 21:32:43 +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) {
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user