-
-
Notifications
You must be signed in to change notification settings - Fork 0
Async functions #2
Copy link
Copy link
Open
Labels
bugUnintended behaviour and security vulnerabilitiesUnintended behaviour and security vulnerabilitieshelp wantedIssues where help is needed from other contributorsIssues where help is needed from other contributors
Metadata
Metadata
Assignees
Labels
bugUnintended behaviour and security vulnerabilitiesUnintended behaviour and security vulnerabilitieshelp wantedIssues where help is needed from other contributorsIssues where help is needed from other contributors
The
getfunction 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
getfunction can output async data into the template.