diff --git a/be/algo-with-me-api/src/competition/controllers/competition.controller.ts b/be/algo-with-me-api/src/competition/controllers/competition.controller.ts index a0fb90e..30849da 100644 --- a/be/algo-with-me-api/src/competition/controllers/competition.controller.ts +++ b/be/algo-with-me-api/src/competition/controllers/competition.controller.ts @@ -15,14 +15,14 @@ import { AuthGuard } from '@nestjs/passport'; import { ApiBearerAuth, ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger'; import { WINSTON_MODULE_PROVIDER } from 'nest-winston'; +import { CompetitionProblemResponseDto } from '../../problem/dto/competition.problem.response.dto'; +import { ProblemSimpleResponseDto } from '../../problem/dto/problem.simple.response.dto'; import { AuthUser } from '../../user/decorators/user.decorators'; import { User } from '../../user/entities/user.entity'; import { CompetitionDto } from '../dto/competition.dto'; import { IsJoinableDto } from '../dto/competition.is.joinable.dto'; -import { CompetitionProblemResponseDto } from '../../problem/dto/competition.problem.response.dto'; import { CompetitionResponseDto } from '../dto/competition.response.dto'; import { CompetitionSimpleResponseDto } from '../dto/competition.simple-response.dto'; -import { ProblemSimpleResponseDto } from '../../problem/dto/problem.simple.response.dto'; import { ScoreResultDto } from '../dto/score-result.dto'; import { CompetitionService } from '../services/competition.service'; diff --git a/be/algo-with-me-api/src/competition/gateways/competition.gateway.ts b/be/algo-with-me-api/src/competition/gateways/competition.gateway.ts index cef4e82..054096b 100644 --- a/be/algo-with-me-api/src/competition/gateways/competition.gateway.ts +++ b/be/algo-with-me-api/src/competition/gateways/competition.gateway.ts @@ -11,15 +11,14 @@ import { import { WINSTON_MODULE_PROVIDER } from 'nest-winston'; import { Server, Socket } from 'socket.io'; +import { AuthTokenPayloadDto } from '../../auth/dto/auth.token.payload.dto'; +import { AuthService } from '../../auth/services/auth.service'; +import { DashboardService } from '../../dashboard/dashboard.service'; +import { ProblemService } from '../../problem/services/problem.service'; +import { User } from '../../user/entities/user.entity'; +import { UserService } from '../../user/services/user.service'; import { CreateSubmissionDto } from '../dto/create-submission.dto'; import { CompetitionService } from '../services/competition.service'; -import { ProblemService } from '../../problem/services/problem.service'; - -import { AuthTokenPayloadDto } from '@src/auth/dto/auth.token.payload.dto'; -import { AuthService } from '@src/auth/services/auth.service'; -import { DashboardService } from '@src/dashboard/dashboard.service'; -import { User } from '@src/user/entities/user.entity'; -import { UserService } from '@src/user/services/user.service'; @WebSocketGateway({ namespace: 'competitions' }) export class CompetitionGateWay implements OnGatewayConnection, OnGatewayInit {