Fixed relations (#9227)
Follow-up : Fixed relations eager load on refactored hooks from PR https://github.com/twentyhq/twenty/pull/8695
This commit is contained in:
@ -35,7 +35,7 @@ export class BeforeDeleteOneRelation implements BeforeDeleteOneHook {
|
||||
workspaceId,
|
||||
id: instance.id.toString(),
|
||||
},
|
||||
relations: ['fromFieldMetafata', 'toFieldMetadata'],
|
||||
relations: ['fromFieldMetadata', 'toFieldMetadata'],
|
||||
});
|
||||
|
||||
if (!relationMetadata) {
|
||||
|
||||
Reference in New Issue
Block a user