Skip to content

The open alternative to Salesforce, designed for AI.

Fix demo workspace seed

Charles Bochetaa8d689e3e4a
diff --git a/packages/twenty-server/src/workspace/workspace-manager/demo-objects-prefill-data/opportunity.ts b/packages/twenty-server/src/workspace/workspace-manager/demo-objects-prefill-data/opportunity.ts
index b14eee434ce..a3fb783fd8a 100644
--- a/packages/twenty-server/src/workspace/workspace-manager/demo-objects-prefill-data/opportunity.ts
+++ b/packages/twenty-server/src/workspace/workspace-manager/demo-objects-prefill-data/opportunity.ts
@@ -34,7 +34,6 @@ const generateOpportunities = (
probability: getRandomProbability(),
pipelineStepId: getRandomPipelineStepId(pipelineStepIds),
pointOfContactId: company.personId,
- personId: company.personId,
companyId: company.id,
}));
};
@@ -69,7 +68,6 @@ export const seedDemoOpportunity = async (
'probability',
'pipelineStepId',
'pointOfContactId',
- 'personId',
'companyId',
])
.orIgnore()