Skip to content

Commit

Permalink
Merge pull request #135 from KAKAO-TOUR-API-CONTEST/devyj
Browse files Browse the repository at this point in the history
fix : nokidsdetail반환수정
  • Loading branch information
yyujin1231 authored Oct 9, 2024
2 parents e89d7a3 + be1cb5f commit 0b8cb50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public MainViewController(TokenProvider tokenProvider) {
}

@GetMapping("/main/detail")
public ResponseDto getUserById(@RequestHeader(value = "Authorization", required = false) String token,@RequestParam Long storeId) {
public ResponseDto getUserById(@RequestHeader(value = "Authorization", required = false) String token,@RequestParam("storeId") Long storeId) {
if (token != null) {
String accessToken = token.replace("Bearer ", "");
if (tokenProvider.validToken(accessToken)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class DetailListResponse {
Boolean pet; //반려동물

String noKidsZone;
String nokidsdetail;
Integer categoryId;
String operationTime;
String tel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public DetailListResponse getDetailList(Long userId,Long storeId){
.strollerVal(innerStore.getStrollerVal())

.noKidsZone(innerStore.getNoKidsZone())
.nokidsdetail(innerStore.getNokidsdetail())
.categoryId(innerStore.getCategoryId())
.operationTime(innerStore.getOperationTime())
.checkin(innerStore.getCheckin())
Expand Down

0 comments on commit 0b8cb50

Please sign in to comment.