Skip to content

Commit

Permalink
Merge pull request #125 from Kek-i/feature/49-mypage-api
Browse files Browse the repository at this point in the history
fix: ํ”„๋กœํ•„ ํŽธ์ง‘ ์˜ค๋ฅ˜ / ํŒ๋งค์ž๋กœ๊ทธ์ธ ์˜ค๋ฅ˜ ์ฒ˜๋ฆฌ
  • Loading branch information
chayoosang authored Mar 29, 2023
2 parents 42c58f6 + 6d5c1da commit 72d8da6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ extension BuyerProfileSetViewController {
self?.editProfileRequest(param: editedUserInfo)
print(editedUserInfo)
}
} else {
let editedUserInfo = Signup(nickname: nickname, profileImg: "")
editProfileRequest(param: editedUserInfo)
}

} else { showAlert(message: "๋‹‰๋„ค์ž„์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”") }
Expand Down
5 changes: 4 additions & 1 deletion KeKi/Scenes/Store/TabViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ extension TabViewController: TabDelegate {


APIManeger.shared.testGetData(urlEndpointString: "/posts", dataType: SearchResultResponse.self, parameter: queryParam) { response in
storeImageCV.configure(feeds: response.result.feeds!, storeIdx: storeIdx, cursorIdx: response.result.cursorIdx!, hasNext: response.result.hasNext)
// storeImageCV.configure(feeds: response.result.feeds!, storeIdx: storeIdx, cursorIdx: response.result.cursorIdx!, hasNext: response.result.hasNext)
if let _ = response.result.cursorIdx {
storeImageCV.configure(feeds: response.result.feeds!, storeIdx: storeIdx, cursorIdx: response.result.cursorIdx!, hasNext: response.result.hasNext)
}
}

APIManeger.shared.testGetData(urlEndpointString: "/desserts", dataType: ProductResponse.self, parameter: queryParam) { response in
Expand Down

0 comments on commit 72d8da6

Please sign in to comment.