Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #182 from Strong-Potato/bugfix/#181-place-nearby
Browse files Browse the repository at this point in the history
[Fix] Place 인접 장소 API 요청 param 추가
  • Loading branch information
laigasus authored Jan 24, 2024
2 parents f36ae28 + 56f5bc6 commit 8c1d519
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public StringBuilder appendQueryStrings(StringBuilder url) {
url.append(addContentTypeIdIfValid(contentTypeId));
url.append(addArrangeIfValid(arrange));
url.append(addCategoryIfValid(categoryCode));
url.append(addShowFlag());

return url;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ default String addCategoryIfValid(String categoryCode) {
return "&cat" + CATEGORY_MAP.getOrDefault(categoryCode.length(), "1=") + categoryCode;
}

default String addShowFlag() {
return "&showflag=" + "1";
}

}

0 comments on commit 8c1d519

Please sign in to comment.