Skip to content

Commit

Permalink
modify: exclude presidentUuid in ExpandedGroupResDto
Browse files Browse the repository at this point in the history
  • Loading branch information
GanghyeonSeo committed Aug 27, 2024
1 parent 70b218f commit bbcfa02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/group/dto/res/ExpandedGroupRes.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export class ExpandedGroupResDto implements ExpandedGroup {
@Exclude()
deletedAt: Date | null;

@Exclude()
presidentUuid: string;

@ApiProperty()
uuid: string;

Expand All @@ -39,9 +42,6 @@ export class ExpandedGroupResDto implements ExpandedGroup {
@ApiProperty()
createdAt: Date;

@ApiProperty()
presidentUuid: string;

@ApiProperty({ type: PresidentResDto })
@Expose()
get president(): User {
Expand Down

0 comments on commit bbcfa02

Please sign in to comment.