Skip to content

Commit

Permalink
SpaceWallResponse에서 spaceId를 spaceWallId로 수정 (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
miyounlee authored Oct 26, 2023
1 parent 4540107 commit 02e2e53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public class SpaceWallResponse {

private String category;
private Long spaceId;
private Long spaceWallId;
private Boolean isPublic;
private String shareURL;
private CommonResponse wallInfoBlock;
Expand All @@ -20,11 +20,11 @@ public class SpaceWallResponse {
private SpaceWallResponse() {}

@Builder
public SpaceWallResponse(final String category, final Long spaceId, final Boolean isPublic, final String shareURL, final CommonResponse wallInfoBlock,
public SpaceWallResponse(final String category, final Long spaceWallId, final Boolean isPublic, final String shareURL, final CommonResponse wallInfoBlock,
final List<BlockResponse<CommonResponse>> blocks, final CommonResponse styleSetting) {

this.category = category;
this.spaceId = spaceId;
this.spaceWallId = spaceWallId;
this.isPublic = isPublic;
this.shareURL = shareURL;
this.wallInfoBlock = wallInfoBlock;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public SpaceWallResponse find(final Long memberId, final Long spaceId, final Lon
String shareURL = spaceWall.getShareURL();
Boolean isPublic = spaceWall.getIsPublic();

return new SpaceWallResponse(category, spaceId, isPublic, shareURL, wallInfoBlockResponse, blocks, styleSettingResponse);
return new SpaceWallResponse(category, spaceWallId, isPublic, shareURL, wallInfoBlockResponse, blocks, styleSettingResponse);
}

private CommonResponse createWallInfoBlock(Map<Long, List<JsonNode>> groupedBlockByPosition) {
Expand Down

0 comments on commit 02e2e53

Please sign in to comment.