style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									226c9786dd
								
							
						
					
					
						commit
						7834fe0072
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		|  | @ -116,10 +116,8 @@ const databaseLearningObjectProvider: LearningObjectProvider = { | ||||||
|     async getLearningObjectsAdministratedBy(adminUsername: string): Promise<FilteredLearningObject[]> { |     async getLearningObjectsAdministratedBy(adminUsername: string): Promise<FilteredLearningObject[]> { | ||||||
|         const learningObjectRepo = getLearningObjectRepository(); |         const learningObjectRepo = getLearningObjectRepository(); | ||||||
|         const learningObjects = await learningObjectRepo.findAllByAdmin(adminUsername); |         const learningObjects = await learningObjectRepo.findAllByAdmin(adminUsername); | ||||||
|         return learningObjects |         return learningObjects.map((it) => convertLearningObject(it)).filter((it) => it !== null); | ||||||
|                 .map(it => convertLearningObject(it)) |     }, | ||||||
|                 .filter(it => it !== null); |  | ||||||
|     } |  | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| export default databaseLearningObjectProvider; | export default databaseLearningObjectProvider; | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Lint Action
						Lint Action