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

Adapter returning promise from find() results in empty response after upgrading to 1.2.27 #19

Open
repl-mike-roest opened this issue Mar 13, 2024 · 0 comments

Comments

@repl-mike-roest
Copy link

We are currently using 1.0.4 of fortune-http we have an adapter that returns a promise from the find method. With 1.0.4 of fortune-http this works correctly and requesting the endpoint via the http api it correctly returns the data. After updating to 1.2.27 for fixing security issues the response via the http api results in a empty response. If I add debug logging into the promise that is being returned from the find method the promise does eventually resolve and have the correct expected data however it appears something in the 1.2.27 upgrade is causing the promise to not be correctly waited on for the data before returning the response.

Any thoughts/ideas about what maybe going on here?
Thanks

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

No branches or pull requests

1 participant