Skip to content

Commit

Permalink
fix(goal.switchState): add project owner to Editable
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed Jul 7, 2023
1 parent 7b428eb commit face652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trpc/router/goal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ export const goal = router({
},
include: {
goalAsCriteria: true,
project: true,
},
});

Expand Down Expand Up @@ -674,6 +675,7 @@ export const goal = router({
include: {
participants: { include: { user: true, ghost: true } },
activity: { include: { user: true, ghost: true } },
project: true,
},
}),
]);
Expand Down

0 comments on commit face652

Please sign in to comment.