diff --git a/docs/3.0.0-beta.x/concepts/services.md b/docs/3.0.0-beta.x/concepts/services.md index 1e737d0f12..b154640988 100644 --- a/docs/3.0.0-beta.x/concepts/services.md +++ b/docs/3.0.0-beta.x/concepts/services.md @@ -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