Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellinaresxk committed Nov 6, 2023
1 parent 8117254 commit 0d2022f
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,12 @@ export class RoomsController {
@Param() urlParams: RoomUrlParams
): Promise<CopyApiResponse> {
const copyStatus = await this.courseCopyUc.copyCourse(currentUser.userId, urlParams.roomId);

const newElements = copyStatus.elements?.filter((element) => {
const filterCopyBoard = element.type !== CopyElementType.LESSON_CONTENT_NEXBOARD;

Check failure on line 73 in apps/server/src/modules/learnroom/controller/rooms.controller.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Insert `↹`
return filterCopyBoard
return filterCopyBoard;

Check failure on line 74 in apps/server/src/modules/learnroom/controller/rooms.controller.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Replace `·` with `↹`
});
copyStatus.elements = newElements;
const dto = CopyMapper.mapToResponse(copyStatus);

copyStatus.elements = newElements;
const dto = CopyMapper.mapToResponse(copyStatus);

Check failure on line 77 in apps/server/src/modules/learnroom/controller/rooms.controller.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Replace `····` with `↹↹`
return dto;
}

Expand Down

0 comments on commit 0d2022f

Please sign in to comment.