From 855034f14d4adf61279a6ace56576ad7a9b20d3d Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sun, 2 Aug 2020 16:54:40 +0200 Subject: [PATCH] Add missing await --- registry/src/http/views.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/src/http/views.ts b/registry/src/http/views.ts index b7713e9..e0018ce 100644 --- a/registry/src/http/views.ts +++ b/registry/src/http/views.ts @@ -23,7 +23,7 @@ export default function views(g: ABC.Application) { packages = await db.package.find({}); } - ctx.render("index", { + await ctx.render("index", { packages, search, });