Skip to content

Commit

Permalink
feat: the owner will not connect to participants in the created goal
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVorop committed Dec 20, 2023
1 parent b096889 commit 9419305
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
Expand Down

0 comments on commit 9419305

Please sign in to comment.