From 515bf666cf53fe69a48a7446cb8afc0edf623a9a Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Thu, 25 Jul 2024 18:39:08 +0200 Subject: [PATCH] Do not create identifier for remote object --- .../workspace-sync-object-metadata-identifiers.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts index 5f6e51582c..54c781fcbe 100644 --- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts +++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-object-metadata-identifiers.service.ts @@ -55,7 +55,7 @@ export class WorkspaceSyncObjectMetadataIdentifiersService { objectMetadataRepository: Repository, ): Promise { return await objectMetadataRepository.find({ - where: { workspaceId, isCustom: false }, + where: { workspaceId, isCustom: false, isRemote: false }, relations: ['fields'], }); }