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) {
|
||||
throw new BadRequestException('errorTargetAgesMandatory');
|
||||
throw new BadRequestException('targetAgesMandatory');
|
||||
}
|
||||
|
||||
const learningObject = learningObjectRepo.create({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue