From 83c50faa317e107dc64489e6455ad2a07d7db9d5 Mon Sep 17 00:00:00 2001 From: ryr0121 Date: Tue, 28 Mar 2023 16:55:23 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=ED=8C=90=EB=A7=A4=EC=9E=90=EB=A1=9C?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=ED=95=9C=20=EA=B2=BD=EC=9A=B0=20?= =?UTF-8?q?=EC=95=B1=20=EA=B0=95=EC=A0=9C=EC=A2=85=EB=A3=8C=EB=90=98?= =?UTF-8?q?=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KeKi/Scenes/Store/TabViewController.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/KeKi/Scenes/Store/TabViewController.swift b/KeKi/Scenes/Store/TabViewController.swift index 145c58f..dffd0de 100644 --- a/KeKi/Scenes/Store/TabViewController.swift +++ b/KeKi/Scenes/Store/TabViewController.swift @@ -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 From 6d5c1dac564c1b2d5c2c1d562198255fa6221567 Mon Sep 17 00:00:00 2001 From: ryr0121 Date: Tue, 28 Mar 2023 17:00:29 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EA=B5=AC=EB=A7=A4=EC=9E=90=20?= =?UTF-8?q?=ED=94=84=EB=A1=9C=ED=95=84=20=ED=8E=B8=EC=A7=91=20=EC=95=88=20?= =?UTF-8?q?=EB=90=98=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UserProfileSetting/BuyerProfileSetViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/KeKi/Scenes/Login/UserProfileSetting/BuyerProfileSetViewController.swift b/KeKi/Scenes/Login/UserProfileSetting/BuyerProfileSetViewController.swift index 1c58e6b..a5c46eb 100644 --- a/KeKi/Scenes/Login/UserProfileSetting/BuyerProfileSetViewController.swift +++ b/KeKi/Scenes/Login/UserProfileSetting/BuyerProfileSetViewController.swift @@ -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: "닉네임을 입력해주세요") }