From 94193056036d151c60c8cf786fbca0ba672b25d9 Mon Sep 17 00:00:00 2001 From: DenisVorop Date: Mon, 18 Dec 2023 12:23:14 +0300 Subject: [PATCH] feat: the owner will not connect to participants in the created goal --- src/utils/db.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/db.ts b/src/utils/db.ts index 666aeaf04..b073a6ed3 100644 --- a/src/utils/db.ts +++ b/src/utils/db.ts @@ -64,9 +64,6 @@ export const createGoal = async (input: GoalCommon, projectId: string, activityI watchers: { connect: [{ id: activityId }, { id: input.owner.id }], }, - participants: { - connect: [{ id: activityId }, { id: input.owner.id }], - }, }, include: { activity: { include: { user: true, ghost: true } },