From 9949ab3586fb536537902e417ea86611667569bd Mon Sep 17 00:00:00 2001 From: virgilchiriac Date: Mon, 18 Sep 2023 16:50:05 +0200 Subject: [PATCH] BC-4375 - fix lint errors --- .../controller/api-test/submission-item-lookup.api.spec.ts | 2 +- .../modules/board/controller/board-submission.controller.ts | 5 ----- .../controller/mapper/submission-item-response.mapper.ts | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts b/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts index 1f937b032cc..4686f953d29 100644 --- a/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts +++ b/apps/server/src/modules/board/controller/api-test/submission-item-lookup.api.spec.ts @@ -15,7 +15,7 @@ import { userFactory, } from '@shared/testing'; import { ServerTestModule } from '@src/modules/server'; -import { SubmissionItemResponse, SubmissionsResponse } from '../dto'; +import { SubmissionsResponse } from '../dto'; const baseRouteName = '/board-submissions'; describe('submission item lookup (api)', () => { diff --git a/apps/server/src/modules/board/controller/board-submission.controller.ts b/apps/server/src/modules/board/controller/board-submission.controller.ts index 7f3bfc13475..3001b57bd5a 100644 --- a/apps/server/src/modules/board/controller/board-submission.controller.ts +++ b/apps/server/src/modules/board/controller/board-submission.controller.ts @@ -16,11 +16,6 @@ import { } from './dto'; import { SubmissionItemResponseMapper } from './mapper'; -type subissionItemsResponse = { - submissionItemsResponse: SubmissionItemResponse[]; - users: UserDataResponse[]; -}; - @ApiTags('Board Submission') @Authenticate('jwt') @Controller('board-submissions') diff --git a/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts b/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts index c00917d6ecc..0f1462dde4d 100644 --- a/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts +++ b/apps/server/src/modules/board/controller/mapper/submission-item-response.mapper.ts @@ -1,4 +1,4 @@ -import { BoardRoles, SubmissionItem, UserBoardRoles, UserRoleEnum } from '@shared/domain'; +import { SubmissionItem, UserBoardRoles } from '@shared/domain'; import { SubmissionItemResponse, TimestampsResponse, UserDataResponse } from '../dto'; export class SubmissionItemResponseMapper {