From eb048eef939dba64cbc448f7eb6c64e2ead3cfac Mon Sep 17 00:00:00 2001 From: Jim LAURIE Date: Mon, 13 Apr 2020 15:01:21 +0200 Subject: [PATCH] docs: fix typo Signed-off-by: Jim LAURIE --- docs/3.0.0-beta.x/concepts/services.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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