Skip to content

Commit

Permalink
Fix: 리스트 불러오는 로직 수정으로 인한 Repository의 파라미터 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GeonH0 committed Jan 8, 2025
1 parent 31e622f commit f37c73f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import RxSwift

protocol FeedListRepository {
func fetchRecipes(pageNumber: Int) -> Single<[Recipe]>
func fetchRecipes(currentPage: Int, targetPage: Int, boundaryID: Int) -> Single<[Recipe]>
}

class FeedListRepositoryImpl: FeedListRepository {
Expand All @@ -18,7 +18,7 @@ class FeedListRepositoryImpl: FeedListRepository {
self.networkService = networkService
}

func fetchRecipes(pageNumber: Int) -> Single<[Recipe]> {
return networkService.fetchRecipes(pageNumber: pageNumber)
func fetchRecipes(currentPage: Int, targetPage: Int, boundaryID: Int) -> Single<[Recipe]> {
return networkService.fetchRecipes(currentPage: currentPage, targetPage: targetPage, boundaryID: boundaryID)
}
}

0 comments on commit f37c73f

Please sign in to comment.