fix(backend): text in foutmelding
This commit is contained in:
		
							parent
							
								
									9d01621c86
								
							
						
					
					
						commit
						6cf4f12f2a
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		|  | @ -69,7 +69,7 @@ function createLearningObject(metadata: LearningObjectMetadata, content: Buffer, | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     if (!metadata.target_ages || metadata.target_ages.length === 0) { |     if (!metadata.target_ages || metadata.target_ages.length === 0) { | ||||||
|         throw new BadRequestException('errorTargetAgesMandatory'); |         throw new BadRequestException('targetAgesMandatory'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     const learningObject = learningObjectRepo.create({ |     const learningObject = learningObjectRepo.create({ | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -36,8 +36,6 @@ | ||||||
|                 "@mikro-orm/postgresql": "6.4.12", |                 "@mikro-orm/postgresql": "6.4.12", | ||||||
|                 "@mikro-orm/reflection": "6.4.12", |                 "@mikro-orm/reflection": "6.4.12", | ||||||
|                 "@mikro-orm/sqlite": "6.4.12", |                 "@mikro-orm/sqlite": "6.4.12", | ||||||
|                 "@types/mime-types": "^2.1.4", |  | ||||||
|                 "@types/unzipper": "^0.10.11", |  | ||||||
|                 "axios": "^1.8.2", |                 "axios": "^1.8.2", | ||||||
|                 "cors": "^2.8.5", |                 "cors": "^2.8.5", | ||||||
|                 "cross": "^1.0.0", |                 "cross": "^1.0.0", | ||||||
|  | @ -68,9 +66,11 @@ | ||||||
|                 "@types/express": "^5.0.0", |                 "@types/express": "^5.0.0", | ||||||
|                 "@types/express-fileupload": "^1.5.1", |                 "@types/express-fileupload": "^1.5.1", | ||||||
|                 "@types/js-yaml": "^4.0.9", |                 "@types/js-yaml": "^4.0.9", | ||||||
|  |                 "@types/mime-types": "^2.1.4", | ||||||
|                 "@types/node": "^22.13.4", |                 "@types/node": "^22.13.4", | ||||||
|                 "@types/response-time": "^2.3.8", |                 "@types/response-time": "^2.3.8", | ||||||
|                 "@types/swagger-ui-express": "^4.1.8", |                 "@types/swagger-ui-express": "^4.1.8", | ||||||
|  |                 "@types/unzipper": "^0.10.11", | ||||||
|                 "globals": "^15.15.0", |                 "globals": "^15.15.0", | ||||||
|                 "ts-node": "^10.9.2", |                 "ts-node": "^10.9.2", | ||||||
|                 "tsx": "^4.19.3", |                 "tsx": "^4.19.3", | ||||||
|  | @ -3117,6 +3117,7 @@ | ||||||
|             "version": "2.1.4", |             "version": "2.1.4", | ||||||
|             "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.4.tgz", |             "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.4.tgz", | ||||||
|             "integrity": "sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==", |             "integrity": "sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==", | ||||||
|  |             "dev": true, | ||||||
|             "license": "MIT" |             "license": "MIT" | ||||||
|         }, |         }, | ||||||
|         "node_modules/@types/ms": { |         "node_modules/@types/ms": { | ||||||
|  | @ -3213,6 +3214,7 @@ | ||||||
|             "version": "0.10.11", |             "version": "0.10.11", | ||||||
|             "resolved": "https://registry.npmjs.org/@types/unzipper/-/unzipper-0.10.11.tgz", |             "resolved": "https://registry.npmjs.org/@types/unzipper/-/unzipper-0.10.11.tgz", | ||||||
|             "integrity": "sha512-D25im2zjyMCcgL9ag6N46+wbtJBnXIr7SI4zHf9eJD2Dw2tEB5e+p5MYkrxKIVRscs5QV0EhtU9rgXSPx90oJg==", |             "integrity": "sha512-D25im2zjyMCcgL9ag6N46+wbtJBnXIr7SI4zHf9eJD2Dw2tEB5e+p5MYkrxKIVRscs5QV0EhtU9rgXSPx90oJg==", | ||||||
|  |             "dev": true, | ||||||
|             "license": "MIT", |             "license": "MIT", | ||||||
|             "dependencies": { |             "dependencies": { | ||||||
|                 "@types/node": "*" |                 "@types/node": "*" | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger