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