feat(event): ID 기반 이벤트 상세 API를 연동한다
This commit is contained in:
@@ -20,5 +20,8 @@ final class EventRepository {
|
||||
func getEventPopup() -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getEventPopup)
|
||||
}
|
||||
}
|
||||
|
||||
func getEventDetail(id: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getEventDetail(id: id))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user