Skip to content

Commit

Permalink
[Add] Health-Food-Me#124 - ReviewService 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Jul 18, 2022
1 parent 51ec61e commit 1399e36
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@ class ReviewService: BaseService {
}

extension ReviewService {

func requestReviewList(restaurantId: String,
completion: @escaping(NetworkResult<Any>) -> Void) {
requestObject(ReviewRouter.getReviewList(restaurantId: restaurantId),
type: ReviewListEntity.self,
decodingMode: .model,
completion: completion)
}
}

0 comments on commit 1399e36

Please sign in to comment.