Skip to content

Commit

Permalink
Reader: update list stream paging (#95155)
Browse files Browse the repository at this point in the history
* Reader: update list stream paging

* stash changes to query

* fix page_handle in requests

* update to use 1.3 api version

* revert debug change
  • Loading branch information
eoigal authored Oct 17, 2024
1 parent c54db4f commit 70bae98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/state/data-layer/wpcom/read/streams/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,13 @@ const streamApis = {
return `/read/list/${ owner }/${ slug }/posts`;
},
dateProperty: 'date',
apiVersion: '1.3',
query: ( extras, { pageHandle } ) => {
return {
...{ extras, number: 40 },
...pageHandle,
};
},
},
};

Expand Down

0 comments on commit 70bae98

Please sign in to comment.