Skip to content

Commit

Permalink
fix: album DTO 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed Jul 15, 2024
1 parent 405b9f1 commit f053b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public class AlbumGetResponseDto {
private int photoCount;

public static AlbumGetResponseDto of(Album album, int count) {
return new AlbumGetResponseDto(album.getId(), album.getTitle(), album.getAlbumDesign().getId(), count);
return new AlbumGetResponseDto(album.getId(), album.getTitle(), album.getAlbumDesignId(), count);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public class AlbumGetV2ResponseDto {
private int photoLimit;

public static AlbumGetV2ResponseDto of(Album album, int count) {
return new AlbumGetV2ResponseDto(album.getId(), album.getTitle(), album.getAlbumDesign().getId(), count, album.getPhotoLimit());
return new AlbumGetV2ResponseDto(album.getId(), album.getTitle(), album.getAlbumDesignId(), count, album.getPhotoLimit());
}
}

0 comments on commit f053b65

Please sign in to comment.