diff --git a/docs/3.0.0-beta.x/concepts/customization.md b/docs/3.0.0-beta.x/concepts/customization.md index 2031a9672e..f3c21a7b8d 100644 --- a/docs/3.0.0-beta.x/concepts/customization.md +++ b/docs/3.0.0-beta.x/concepts/customization.md @@ -22,8 +22,8 @@ The admin panel is a `node_module` that is similar to a plugin but the slight di To extend this package you will have to create an `admin` folder at the root of your application. -In this folder you will be able to override admin flies and functions. +In this folder you will be able to override admin files and functions. ::: note -For more details, visit the [admin panel constomization](../admin-panel/customization.md) documentation. +For more details, visit the [admin panel customization](../admin-panel/customization.md) documentation. ::: diff --git a/packages/strapi-plugin-upload/config/schema.graphql b/packages/strapi-plugin-upload/config/schema.graphql index 1b910cfdcb..8db4d8ed05 100644 --- a/packages/strapi-plugin-upload/config/schema.graphql +++ b/packages/strapi-plugin-upload/config/schema.graphql @@ -35,6 +35,8 @@ module.exports = { deleteFile: false, upload: { description: 'Upload one file', + plugin: 'upload', + resolverOf: 'Upload.upload', resolver: async (obj, { file: upload, ...fields }) => { const file = await formatFile(upload, fields); @@ -57,6 +59,8 @@ module.exports = { }, multipleUpload: { description: 'Upload one file', + plugin: 'upload', + resolverOf: 'Upload.upload', resolver: async (obj, { files: uploads, ...fields }) => { const files = await Promise.all( uploads.map(upload => formatFile(upload, fields))