From e7c9a438116d9ea750694f1c1dcd2c64382bebed Mon Sep 17 00:00:00 2001 From: Parkjju Date: Mon, 2 Oct 2023 16:04:33 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]=20#178=20=ED=9A=8C=EA=B3=A0=20Single=20T?= =?UTF-8?q?rait=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=9A=94=EC=B2=AD?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=A0=95=EC=9D=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Milestone/Milestone/Core/Services/ServicesGoalList.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Milestone/Milestone/Core/Services/ServicesGoalList.swift b/Milestone/Milestone/Core/Services/ServicesGoalList.swift index e7e3588..133be66 100644 --- a/Milestone/Milestone/Core/Services/ServicesGoalList.swift +++ b/Milestone/Milestone/Core/Services/ServicesGoalList.swift @@ -87,4 +87,9 @@ extension ServicesGoalList { func postRetrospectSingle(higherLevelGoalId: Int, retrospect: Retrospect) -> Single> { return apiSession.requestSingle(.postRetrospect(higherLevelGoalId: higherLevelGoalId, retrospect: retrospect)) } + + // MARK: - Single Trait + func requestRetrospectWithSingle(goalId: Int) -> Single> { + return apiSession.requestSingle(.requestRetrospect(higherLevelGoalId: goalId)) + } }