Skip to content

Async functions #2

Description

@groenroos

The get function needs to use Promises in order to fetch data from the database, but Pug doesn't seem to support async/await functions out-of-the-box.

Fix it so that the get function can output async data into the template.

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

    bugUnintended behaviour and security vulnerabilitieshelp wantedIssues where help is needed from other contributors

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions