Closed jlevesy closed 11 months ago
Actually fixed by #18
Hey @jlevesy, Thank you for reporting this issue!
I think that the recent fix to look only for the suffix should do, except that we need to replace the logical-and with logical-or, as in the PR you referenced. I'm still on low availability so I hope that I'll get to it soon.
Edit: I just went over the code of #18, and it does exactly that. Unfortunately it kinda breaks backwards compatibility (e.g. for GHES), so we can just make it more flexible and use that.
@jlevesy The fix is merged. I'll create a new tag soon. Thanks again!
Thanks to @zendesk-piotrpawluk who did the heavylifting!
Hey 👋
Thanks for this library! I just started to work with it!
Sadly I'm currently facing a case where it is actually missing a secondary rate limit, similar to #14 but this time it's because the
DocumentationURL
has changed ðŸ˜Here's some output from my debugger:
Which doesn't match the expected
/rest/overview/resources-in-the-rest-api#secondary-rate-limits
I'm opening a fix :)