mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	fix(logo-customization): handled undefined files object
This commit is contained in:
		
							parent
							
								
									1a6c30f771
								
							
						
					
					
						commit
						aecc0244e3
					
				| @ -73,7 +73,7 @@ const getProjectSettings = async () => { | ||||
|   return projectSettings; | ||||
| }; | ||||
| 
 | ||||
| const uploadFiles = async files => { | ||||
| const uploadFiles = async (files = {}) => { | ||||
|   // Call the provider upload function for each file
 | ||||
|   return Promise.all(Object.values(files).map(strapi.plugin('upload').provider.uploadStream)); | ||||
| }; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 vincentbpro
						vincentbpro