Skip to content

Commit

Permalink
fix: delete useless field
Browse files Browse the repository at this point in the history
  • Loading branch information
gmkim20713 committed Nov 22, 2024
1 parent b1f6614 commit 50682db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ public record AlbumDetailResponse(
@Schema(description = "앨범 내 사진 수", example = "6")
String photoCount,

@Schema(description = "공유 받은 앨범 여부", example = "false")
Boolean isShared,

@Schema(description = "공유 받은 앨범 상태", example = "null")
ShareStatus shareStatus,

Expand All @@ -40,7 +37,6 @@ public static AlbumDetailResponse fromDto(
dto.name(),
dto.type(),
dto.photoCount().toString(),
dto.isShared(),
dto.shareStatus(),
dto.permissionLevel(),
dto.ownerProfileImageUrl()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public record AlbumDto(
String name,
AlbumType type,
Integer photoCount,
Boolean isShared,
ShareStatus shareStatus,
PermissionLevel permissionLevel,
String ownerProfileImageUrl,
Expand All @@ -26,7 +25,6 @@ public static AlbumDto fromOwnedAlbum(
albumEntity.getName(),
albumEntity.getType(),
albumEntity.getPhotoCount(),
false,
null,
null,
null,
Expand All @@ -44,7 +42,6 @@ public static AlbumDto fromSharedAlbum(
albumEntity.getName(),
albumEntity.getType(),
albumEntity.getPhotoCount(),
true,
sharedMemberEntity.getShareStatus(),
sharedMemberEntity.getPermissionLevel(),
memberDto.profileImageUrl(),
Expand Down

0 comments on commit 50682db

Please sign in to comment.