Skip to content

Async functions #2

@groenroos

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.

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