fix(backend): Kapotte imports gerepareerd.
This commit is contained in:
		
							parent
							
								
									aaa71aa648
								
							
						
					
					
						commit
						69dd1830f5
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -6,7 +6,7 @@ import { EnvVars, getEnvVar } from '../util/envvars.js'; | |||
| import { Language } from '../entities/content/language.js'; | ||||
| import attachmentService from '../services/learning-objects/attachment-service.js'; | ||||
| import { NotFoundError } from '@mikro-orm/core'; | ||||
| import {BadRequestException} from "../exceptions/badRequestException"; | ||||
| import {BadRequestException} from "../exceptions/bad-request-exception.js"; | ||||
| 
 | ||||
| function getLearningObjectIdentifierFromRequest(req: Request): LearningObjectIdentifier { | ||||
|     if (!req.params.hruid) { | ||||
|  |  | |||
|  | @ -8,8 +8,8 @@ import { | |||
|     personalizedForGroup, | ||||
|     personalizedForStudent, | ||||
| } from '../services/learning-paths/learning-path-personalization-util.js'; | ||||
| import {BadRequestException} from "../exceptions/badRequestException"; | ||||
| import {NotFoundException} from "../exceptions/not-found-exception"; | ||||
| import {BadRequestException} from "../exceptions/bad-request-exception.js"; | ||||
| import {NotFoundException} from "../exceptions/not-found-exception.js"; | ||||
| 
 | ||||
| /** | ||||
|  * Fetch learning paths based on query parameters. | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ import {ExceptionWithHttpState} from "./exception-with-http-state.js"; | |||
| /** | ||||
|  * Exception for HTTP 400 Bad Request | ||||
|  */ | ||||
| export abstract class BadRequestException extends ExceptionWithHttpState { | ||||
| export class BadRequestException extends ExceptionWithHttpState { | ||||
|     constructor(error: string) { | ||||
|         super(400, error); | ||||
|     } | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger