From 6246fd86237cbf2361e62fff396b38b3dfc1e2fc Mon Sep 17 00:00:00 2001 From: Kenneth Lavender <5175120+kennylavender@users.noreply.github.com> Date: Thu, 13 Dec 2018 13:44:16 -0800 Subject: [PATCH] fix API instantiation --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index b92b6662..9a494c1e 100644 --- a/src/app.ts +++ b/src/app.ts @@ -44,7 +44,7 @@ export async function app(localVars: any = {}) { loggingPretty: configuration.loggingPretty, } - const api = new API({ + const api = API({ ...loggingConfiguration, port: configuration.apiPort, dbUrl: configuration.mongodbUrl,