Skip to content

Commit

Permalink
fix: errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kaancayli committed Nov 30, 2024
1 parent bfadb7e commit f10ac7a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,11 @@ private <T, U> void executeCourseChatPipeline(String variant, IrisCourseChatSess
var fullCourse = loadCourseWithParticipationOfStudent(courseId, studentId);
return new PyrisCourseChatPipelineExecutionDTO<>(
PyrisExtendedCourseDTO.of(fullCourse),
learningMetricsService.getStudentCourseMetrics(session.getUser().getId(), courseId),
learningMetricsApi.getStudentCourseMetrics(session.getUser().getId(), courseId),
generateEventPayloadFromObjectType(eventDtoClass, eventObject), // get the event payload DTO
pyrisDTOService.toPyrisMessageDTOList(session.getMessages()),
new PyrisUserDTO(session.getUser()), executionDto.settings(), // flatten the execution dto here
new PyrisUserDTO(session.getUser()),
executionDto.settings(), // flatten the execution dto here
executionDto.initialStages()
);
},
Expand Down

0 comments on commit f10ac7a

Please sign in to comment.