Skip to content

fix: pass pagination_token from entriesResponse to the recursive call in bulk unpublish getSyncEntries#1973

Open
MetodiYanev wants to merge 2 commits intocontentstack:mainfrom
MetodiYanev:fix/pass-pagination-token-to-sync-call-unpublish
Open

fix: pass pagination_token from entriesResponse to the recursive call in bulk unpublish getSyncEntries#1973
MetodiYanev wants to merge 2 commits intocontentstack:mainfrom
MetodiYanev:fix/pass-pagination-token-to-sync-call-unpublish

Conversation

@MetodiYanev
Copy link

This PR fixes a bug in the getSyncEntries function where the recursive call to fetch additional pages of entries would always execute — even when pagination_token was null. As a result, the function would endlessly cycle through the first page of results without making progress.

@MetodiYanev MetodiYanev requested a review from a team as a code owner June 16, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants