From face6528920f0a92bf763dee0d8ead11eb7e17bc Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 7 Jul 2023 12:04:15 +0300 Subject: [PATCH] fix(goal.switchState): add project owner to Editable --- trpc/router/goal.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trpc/router/goal.ts b/trpc/router/goal.ts index 772a1667b..3601c6882 100644 --- a/trpc/router/goal.ts +++ b/trpc/router/goal.ts @@ -620,6 +620,7 @@ export const goal = router({ }, include: { goalAsCriteria: true, + project: true, }, }); @@ -674,6 +675,7 @@ export const goal = router({ include: { participants: { include: { user: true, ghost: true } }, activity: { include: { user: true, ghost: true } }, + project: true, }, }), ]);