fix(backend): Bugs omtrent leerpad-endpoints opgelost
This commit is contained in:
parent
6929288554
commit
1a768fedcc
6 changed files with 12 additions and 12 deletions
|
@ -1,5 +1,6 @@
|
|||
import {
|
||||
ArrayType,
|
||||
Cascade,
|
||||
Collection,
|
||||
Embedded,
|
||||
Entity,
|
||||
|
@ -93,6 +94,7 @@ export class LearningObject {
|
|||
@OneToMany({
|
||||
entity: () => Attachment,
|
||||
mappedBy: 'learningObject',
|
||||
cascade: [Cascade.ALL]
|
||||
})
|
||||
attachments: Collection<Attachment> = new Collection<Attachment>(this);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue