diff --git a/HealthFoodMe/HealthFoodMe/Data/Network/Services/ReviewService.swift b/HealthFoodMe/HealthFoodMe/Data/Network/Services/ReviewService.swift index 90e83f4e..00d62afb 100644 --- a/HealthFoodMe/HealthFoodMe/Data/Network/Services/ReviewService.swift +++ b/HealthFoodMe/HealthFoodMe/Data/Network/Services/ReviewService.swift @@ -14,5 +14,11 @@ class ReviewService: BaseService { } extension ReviewService { - + func requestReviewList(restaurantId: String, + completion: @escaping(NetworkResult) -> Void) { + requestObject(ReviewRouter.getReviewList(restaurantId: restaurantId), + type: ReviewListEntity.self, + decodingMode: .model, + completion: completion) + } }