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:
Lucas Bordeau
2024-12-24 15:59:25 +01:00
committed by GitHub
parent 2dcfaeac73
commit cba38ab496

View File

@ -35,7 +35,7 @@ export class BeforeDeleteOneRelation implements BeforeDeleteOneHook {
workspaceId,
id: instance.id.toString(),
},
relations: ['fromFieldMetafata', 'toFieldMetadata'],
relations: ['fromFieldMetadata', 'toFieldMetadata'],
});
if (!relationMetadata) {