Skip to content

Commit

Permalink
fix annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap committed Sep 22, 2023
1 parent c98239c commit 2f20480
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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[]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ export class UserDataResponse {
}

@ApiProperty()
firstName!: string;
firstName: string;

@ApiProperty()
lastName!: string;
lastName: string;

@ApiProperty()
userId!: string;
userId: string;
}

0 comments on commit 2f20480

Please sign in to comment.