fix: backend controllers gehomologeerd #130
This commit is contained in:
		
							parent
							
								
									30ec73a88d
								
							
						
					
					
						commit
						32a3bb0dd6
					
				
					 10 changed files with 75 additions and 194 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,7 @@ export async function getAllLearningObjects(req: Request, res: Response): Promis
 | 
			
		|||
        learningObjects = await learningObjectService.getLearningObjectIdsFromPath(learningPathId);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    res.json(learningObjects);
 | 
			
		||||
    res.json({ learningObjects: learningObjects });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export async function getLearningObject(req: Request, res: Response): Promise<void> {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue