From fe0b6ffb50f7454eab9f6de9d9e2da751a7b536f Mon Sep 17 00:00:00 2001 From: jeongdung-eo Date: Sun, 26 Nov 2023 17:51:33 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20#197=20-=20=EB=84=A4=ED=8A=B8=EC=9B=8C?= =?UTF-8?q?=ED=81=AC=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS-NOTTODO/iOS-NOTTODO/Network/API/Home/HomeAPI.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS-NOTTODO/iOS-NOTTODO/Network/API/Home/HomeAPI.swift b/iOS-NOTTODO/iOS-NOTTODO/Network/API/Home/HomeAPI.swift index 28c56828..240ca4e8 100644 --- a/iOS-NOTTODO/iOS-NOTTODO/Network/API/Home/HomeAPI.swift +++ b/iOS-NOTTODO/iOS-NOTTODO/Network/API/Home/HomeAPI.swift @@ -61,7 +61,7 @@ final class HomeAPI { case .success(let response): do { self.missionDetailDailyData = try response.map(GeneralResponse?.self) - guard let missionDetailDailyData = self.missionDetailDailyData else { return } + guard let missionDetailDailyData = self.missionDetailDailyData else { return completion(nil) } completion(missionDetailDailyData) } catch let err { print(err.localizedDescription, 500)