From d06626cccac920094232a1099eb78c1cf049871a Mon Sep 17 00:00:00 2001 From: jinho7 <69239293+jinho7@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:10:59 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Response=EC=97=90=20"regi?= =?UTF-8?q?onName"=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/waither/userservice/converter/SettingConverter.java | 1 + .../com/waither/userservice/dto/response/SettingResDto.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/user-service/src/main/java/com/waither/userservice/converter/SettingConverter.java b/user-service/src/main/java/com/waither/userservice/converter/SettingConverter.java index 34ca92a0..d2b87f1c 100644 --- a/user-service/src/main/java/com/waither/userservice/converter/SettingConverter.java +++ b/user-service/src/main/java/com/waither/userservice/converter/SettingConverter.java @@ -20,6 +20,7 @@ public static SettingResDto.CustomDto toCustomDto(User user) { public static SettingResDto.RegionNameDto toRegionNameDto(Setting setting) { return SettingResDto.RegionNameDto.builder() .regionName(setting.getRegion().getRegionName()) + .regionReport(setting.isRegionReport()) .build(); } diff --git a/user-service/src/main/java/com/waither/userservice/dto/response/SettingResDto.java b/user-service/src/main/java/com/waither/userservice/dto/response/SettingResDto.java index 65dd9441..643e6353 100644 --- a/user-service/src/main/java/com/waither/userservice/dto/response/SettingResDto.java +++ b/user-service/src/main/java/com/waither/userservice/dto/response/SettingResDto.java @@ -14,7 +14,8 @@ public record CustomDto( @Builder public record RegionNameDto( - String regionName + String regionName, + boolean regionReport ) { } @Builder