Skip to content

Commit

Permalink
removing console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellinaresxk committed Nov 5, 2023
1 parent 0446d19 commit 62b0698
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
RoomUrlParams,
SingleColumnBoardResponse,
} from './dto';
import { elementAt } from 'rxjs';

@ApiTags('Rooms')
@Authenticate('jwt')
Expand Down Expand Up @@ -71,11 +70,12 @@ export class RoomsController {
): Promise<CopyApiResponse> {
const copyStatus = await this.courseCopyUc.copyCourse(currentUser.userId, urlParams.roomId);

let newElements = copyStatus.elements?.filter((element) => {
const newElements = copyStatus.elements?.filter((element) => {

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

Delete `⏎`
const filterCopyBoard = element.type !== CopyElementType.LESSON_CONTENT_NEXBOARD
const filterCopyBoard = element.type !== CopyElementType.LESSON_CONTENT_NEXBOARD;
return filterCopyBoard

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

View workflow job for this annotation

GitHub Actions / nest_lint

Insert `;`
})

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

Insert `;`

copyStatus.elements = newElements;

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

View workflow job for this annotation

GitHub Actions / nest_lint

Replace `····` with `↹↹`
const dto = CopyMapper.mapToResponse(copyStatus);
return dto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export class CourseCopyService {
if (courseGroupsExist) {
elements.push({ type: CopyElementType.COURSEGROUP_GROUP, status: CopyStatusEnum.NOT_IMPLEMENTED });
}
console.log("estoy en finishCourseCopying")
const status = {
title: courseCopy.name,
type: CopyElementType.COURSE,
Expand Down

0 comments on commit 62b0698

Please sign in to comment.