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

fix(useFetch): broken callbacks when RequestInit and UseFetchOptions are both passed in #2013

Merged
merged 1 commit into from Jul 29, 2022
Merged

fix(useFetch): broken callbacks when RequestInit and UseFetchOptions are both passed in #2013

merged 1 commit into from Jul 29, 2022

Commits on Jul 29, 2022

  1. fix(useFetch): broken callbacks when RequestInit and UseFetchOptions …

    …are both passed in
    
    When useFetch has 3 arguments (`url`, `RequestInit`, and `UseFetchOptions`),
    the `beforeFetch`, `afterFetch`, and `onFetchError` callbacks were not being
    passed through. After this commit, they are.
    
    Relevant unit tests are also added.
    
    fix #2012
    curtgrimes committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    90d3f16 View commit details
    Browse the repository at this point in the history