diff options
| author | shpuld <shp@cock.li> | 2019-01-31 21:11:28 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-31 21:11:28 +0200 |
| commit | 8ce513ed09124fa0183943c359950f49ebcf2f89 (patch) | |
| tree | a3a54f7ee6bec7a288a88028a6b2368e46b0a538 /src/services/backend_interactor_service | |
| parent | fbe7af3d56e4e6e168208a511bd7cd4e4e4e7a40 (diff) | |
initial draft for follows/following pagination
Diffstat (limited to 'src/services/backend_interactor_service')
| -rw-r--r-- | src/services/backend_interactor_service/backend_interactor_service.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/services/backend_interactor_service/backend_interactor_service.js b/src/services/backend_interactor_service/backend_interactor_service.js index f44f52b6..ed7d4b49 100644 --- a/src/services/backend_interactor_service/backend_interactor_service.js +++ b/src/services/backend_interactor_service/backend_interactor_service.js @@ -10,12 +10,12 @@ const backendInteractorService = (credentials) => { return apiService.fetchConversation({id, credentials}) } - const fetchFriends = ({id}) => { - return apiService.fetchFriends({id, credentials}) + const fetchFriends = ({id, page}) => { + return apiService.fetchFriends({id, page, credentials}) } - const fetchFollowers = ({id}) => { - return apiService.fetchFollowers({id, credentials}) + const fetchFollowers = ({id, page}) => { + return apiService.fetchFollowers({id, page, credentials}) } const fetchAllFollowing = ({username}) => { |
