Skip to content

Commit

Permalink
testing spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellinaresxk committed Nov 6, 2023
1 parent 0d2022f commit 897036c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ export class RoomsController {
): 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;
return filterCopyBoard;
const filterCopyBoard = element.type !== CopyElementType.LESSON_CONTENT_NEXBOARD;
return filterCopyBoard;
});
copyStatus.elements = newElements;
const dto = CopyMapper.mapToResponse(copyStatus);
const dto = CopyMapper.mapToResponse(copyStatus);
return dto;
}

Expand Down

0 comments on commit 897036c

Please sign in to comment.