Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellinaresxk committed Nov 14, 2023
1 parent 99428b9 commit c7886f0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ export class CourseCopyService {
const boardStatus = await this.boardCopyService.copyBoard({ originalBoard, destinationCourse: courseCopy, user });
const filteredBoardStatus = this.filterOutNeXboardFromCopyStatus(boardStatus);
const finishedCourseCopy = await this.finishCourseCopying(courseCopy);
const courseStatus = this.deriveCourseStatus(originalCourse, finishedCourseCopy, boardStatus);
const courseStatus = this.deriveCourseStatus(originalCourse, finishedCourseCopy, filteredBoardStatus);

return courseStatus;
}

// Exclude LESSON_CONTENT_NEXBOARD from boardStatus

Check failure on line 56 in apps/server/src/modules/learnroom/service/course-copy.service.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Delete `↹`
private filterOutNeXboardFromCopyStatus(boardStatus: CopyStatus): CopyStatus {
if (boardStatus.elements) {
boardStatus.elements = boardStatus.elements.filter(elementStatus =>

Check failure on line 59 in apps/server/src/modules/learnroom/service/course-copy.service.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Replace `elementStatus·=>⏎↹↹↹↹` with `⏎↹↹↹↹(elementStatus)·=>·`
Expand Down

0 comments on commit c7886f0

Please sign in to comment.