From 2f2048036c97c984d80020687a7a5ffc5153a0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20=C3=96hlerking?= Date: Fri, 22 Sep 2023 16:11:50 +0200 Subject: [PATCH] fix annotation --- .../controller/dto/submission-item/submissions.response.ts | 3 ++- .../src/modules/board/controller/dto/user-data.response.ts | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/server/src/modules/board/controller/dto/submission-item/submissions.response.ts b/apps/server/src/modules/board/controller/dto/submission-item/submissions.response.ts index 1092421b0c3..17ef89740da 100644 --- a/apps/server/src/modules/board/controller/dto/submission-item/submissions.response.ts +++ b/apps/server/src/modules/board/controller/dto/submission-item/submissions.response.ts @@ -1,5 +1,6 @@ -import { SubmissionItemResponse, UserDataResponse } from '@src/modules/board/controller/dto'; import { ApiProperty } from '@nestjs/swagger'; +import { UserDataResponse } from '../user-data.response'; +import { SubmissionItemResponse } from './submission-item.response'; export class SubmissionsResponse { constructor(submissionItemsResponse: SubmissionItemResponse[], users: UserDataResponse[]) { diff --git a/apps/server/src/modules/board/controller/dto/user-data.response.ts b/apps/server/src/modules/board/controller/dto/user-data.response.ts index 78b71d0de8a..595ba5f3f9b 100644 --- a/apps/server/src/modules/board/controller/dto/user-data.response.ts +++ b/apps/server/src/modules/board/controller/dto/user-data.response.ts @@ -8,11 +8,11 @@ export class UserDataResponse { } @ApiProperty() - firstName!: string; + firstName: string; @ApiProperty() - lastName!: string; + lastName: string; @ApiProperty() - userId!: string; + userId: string; }