Skip to content

Commit a6daccc

Browse files
committed
fix: include groups, sections and questions
1 parent f932b9f commit a6daccc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/api/ai-workflow/ai-workflow.service.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,19 @@ export class AiWorkflowService {
258258
provider: true,
259259
},
260260
},
261-
scorecard: true,
261+
scorecard: {
262+
include: {
263+
scorecardGroups: {
264+
include: {
265+
sections: {
266+
include: {
267+
questions: true,
268+
},
269+
},
270+
},
271+
},
272+
},
273+
},
262274
},
263275
});
264276
if (!workflow) {

0 commit comments

Comments
 (0)