Skip to content

Commit

Permalink
refactor: Update UserResponseDTO to make name property nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
PleBea committed Jul 13, 2024
1 parent 9e716b1 commit 8dd5e96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/user/dto/user.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ export class UserResponseDTO implements Partial<User> {
@ApiProperty()
id: string;

@ApiProperty()
@ApiProperty({
nullable: true,
})
name: string;

@ApiProperty({
Expand Down

0 comments on commit 8dd5e96

Please sign in to comment.