fix: functies uit learning path entity zijn nu bereikbaar
This commit is contained in:
		
							parent
							
								
									6338ad249a
								
							
						
					
					
						commit
						f6b648c9d9
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -10,8 +10,9 @@ import { | |||
| } from '@mikro-orm/core'; | ||||
| import { Language } from './language.js'; | ||||
| import { Teacher } from '../users/teacher.entity.js'; | ||||
| import { LearningPathRepository } from '../../data/content/learning-path-repository.js'; | ||||
| 
 | ||||
| @Entity() | ||||
| @Entity({ repository : () => {return LearningPathRepository;}}) | ||||
| export class LearningPath { | ||||
|     @PrimaryKey({ type: 'string' }) | ||||
|     hruid!: string; | ||||
|  |  | |||
		Reference in a new issue
	
	 Laure Jablonski
						Laure Jablonski