mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	call entity manager mapEntity
This commit is contained in:
		
							parent
							
								
									77999e2675
								
							
						
					
					
						commit
						a392a15b65
					
				| @ -64,7 +64,10 @@ const addSignedFileUrlsToAdmin = async () => { | |||||||
|        * @param {string} uid |        * @param {string} uid | ||||||
|        * @returns |        * @returns | ||||||
|        */ |        */ | ||||||
|       const mapEntity = (entity, uid) => signEntityMedia(entity, uid); |       const mapEntity = async (entity, uid) => { | ||||||
|  |         const signedEntity = await signEntityMedia(entity, uid); | ||||||
|  |         return entityManager.mapEntity(signedEntity, uid); | ||||||
|  |       }; | ||||||
| 
 | 
 | ||||||
|       return { ...entityManager, mapEntity }; |       return { ...entityManager, mapEntity }; | ||||||
|     }); |     }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Marc-Roig
						Marc-Roig