Skip to content

Support empty response when use of 'opt.modified_since'#1

Open
qualbeen wants to merge 1 commit intomatiasdoyle:masterfrom
qualbeen:master
Open

Support empty response when use of 'opt.modified_since'#1
qualbeen wants to merge 1 commit intomatiasdoyle:masterfrom
qualbeen:master

Conversation

@qualbeen
Copy link
Copy Markdown

Without this little line client.activityFeed() won't work if you use opt.modified_since together with opt.get_next.

I'm not sure if passing an empty array to the callback is best practice, but it works well enough.
I believe this case should not trow an error, since "304 Not Modified" is a valid response!

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