Skip to content

Commit ef0b0de

Browse files
authored
Merge pull request #110 from topcoder-platform/pm-2031
fix(PM-2031): include groups, sections and questions
2 parents 4d2f7fb + a6daccc commit ef0b0de

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
@@ -269,7 +269,19 @@ export class AiWorkflowService {
269269
provider: true,
270270
},
271271
},
272-
scorecard: true,
272+
scorecard: {
273+
include: {
274+
scorecardGroups: {
275+
include: {
276+
sections: {
277+
include: {
278+
questions: true,
279+
},
280+
},
281+
},
282+
},
283+
},
284+
},
273285
},
274286
});
275287
if (!workflow) {

0 commit comments

Comments
 (0)