mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	Fix typo
This commit is contained in:
		
							parent
							
								
									67b587bd6f
								
							
						
					
					
						commit
						c697050358
					
				| @ -1,13 +1,13 @@ | |||||||
| 'use strict'; | 'use strict'; | ||||||
| 
 | 
 | ||||||
| const registerUploadMiddlware = require('./middlewares/upload'); | const registerUploadMiddleware = require('./middlewares/upload'); | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Register upload plugin |  * Register upload plugin | ||||||
|  * @param {{ strapi: import('@strapi/strapi').Strapi }} |  * @param {{ strapi: import('@strapi/strapi').Strapi }} | ||||||
|  */ |  */ | ||||||
| module.exports = async ({ strapi }) => { | module.exports = async ({ strapi }) => { | ||||||
|   await registerUploadMiddlware({ strapi }); |   await registerUploadMiddleware({ strapi }); | ||||||
| 
 | 
 | ||||||
|   if (strapi.plugin('graphql')) { |   if (strapi.plugin('graphql')) { | ||||||
|     require('./graphql')({ strapi }); |     require('./graphql')({ strapi }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Alexandre Bodin
						Alexandre Bodin