Skip to content

Commit

Permalink
[Feat] #178 회고 Single Trait 데이터 요청함수 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
Parkjju committed Oct 2, 2023
1 parent 7fa1926 commit e7c9a43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Milestone/Milestone/Core/Services/ServicesGoalList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,9 @@ extension ServicesGoalList {
func postRetrospectSingle(higherLevelGoalId: Int, retrospect: Retrospect) -> Single<BaseModel<Int>> {
return apiSession.requestSingle(.postRetrospect(higherLevelGoalId: higherLevelGoalId, retrospect: retrospect))
}

// MARK: - Single Trait
func requestRetrospectWithSingle(goalId: Int) -> Single<BaseModel<Retrospect>> {
return apiSession.requestSingle(.requestRetrospect(higherLevelGoalId: goalId))
}
}

0 comments on commit e7c9a43

Please sign in to comment.