The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix workspace sync issue (#6121)
Charles Bochetc2da7c4c6ebd
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-field-metadata.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-field-metadata.service.tsindex f63b48a3ccd..1706870e8fa 100644--- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-field-metadata.service.ts+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-field-metadata.service.ts@@ -45,7 +45,6 @@ export class WorkspaceSyncFieldMetadataService {where: {workspaceId: context.workspaceId,// We're only interested in standard fields- fields: { isCustom: false },},relations: ['dataSource', 'fields'],});diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-relation-metadata.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-relation-metadata.service.tsindex 86d46f01a85..ba14f3634e9 100644--- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-relation-metadata.service.ts+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/services/workspace-sync-relation-metadata.service.ts@@ -46,7 +46,6 @@ export class WorkspaceSyncRelationMetadataService {await objectMetadataRepository.find({where: {workspaceId: context.workspaceId,- fields: { isCustom: false },},relations: ['dataSource', 'fields'],});