Skip to content

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

Description

@repl-mike-roest

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions