Skip to content

Commit

Permalink
[HOTFIX] category group code - response dto에서 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Nov 28, 2023
1 parent 2cd100f commit 910b15f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public class PlaceDetails {
private String categoryName;
private String addressName;
private String roadAddressName;
private CategoryGroupCode categoryGroupCode;
private Double x;
private Double y;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public PlanDestinationResponse searchPlanDestination(final SearchDestinationRequ

private SearchDestinationResponse requestMapClient(final SearchDestinationRequest request) {
final SearchDestinationResponse result = destinationClient.request(request);
if (result.getDocuments().isEmpty()) {
final List<PlaceDetails> documents = result.getDocuments();

if (documents == null || documents.isEmpty()) {
return destinationClient.request(request.toNoDirectionRequest());
}
return result;
Expand Down

0 comments on commit 910b15f

Please sign in to comment.