Skip to content

Commit

Permalink
Fix event relation with custom objects
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Mar 22, 2024
1 parent 161137e commit 3ea8589
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class CustomObjectMetadata extends BaseObjectMetadata {
})
@RelationMetadata({
type: RelationMetadataType.ONE_TO_MANY,
inverseSideTarget: () => AttachmentObjectMetadata,
inverseSideTarget: () => EventObjectMetadata,
onDelete: RelationOnDeleteAction.CASCADE,
})
@IsNullable()
Expand Down

0 comments on commit 3ea8589

Please sign in to comment.