The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(server): scope workspace findOne in ApplicationService (#20583)
Charles Bochet484037c17985
diff --git a/packages/twenty-server/src/engine/core-modules/application/application.service.ts b/packages/twenty-server/src/engine/core-modules/application/application.service.tsindex 2e212d28f7f..aa0399f24ca 100644--- a/packages/twenty-server/src/engine/core-modules/application/application.service.ts+++ b/packages/twenty-server/src/engine/core-modules/application/application.service.ts@@ -82,6 +82,7 @@ export class ApplicationService {const workspace = isDefined(workspaceInput)? workspaceInput: await this.workspaceRepository.findOne({+ select: ['id', 'workspaceCustomApplicationId'],where: {id: workspaceId,},