Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub 'issues/.../comments' API call returns only 30 comments in one go #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gozhev
Copy link

@gozhev gozhev commented Aug 7, 2018

I have noticed that offline-issues saves only first 30 comments from an issue.
For example, the following call
$ offline-issues fritz-smh/yi-hack#118
only saves comments until this one.

I have changed getComments function so that it sequentially requests comments and updates '?since=' parameter to the timestamp of the last fetched comment.

@gozhev gozhev changed the title GitHub 'issues/.../comments' API call returns only 30 issues in one go GitHub 'issues/.../comments' API call returns only 30 comments in one go Aug 7, 2018
@jlord jlord self-requested a review August 8, 2018 18:25
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.

1 participant