From 54d4851de116d30aab7d2fefd1fa41e91bf3bf5d Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 31 Aug 2019 23:04:37 +0200 Subject: [PATCH] fix(core): update --- ts/typedrequest.classes.typedrouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/typedrequest.classes.typedrouter.ts b/ts/typedrequest.classes.typedrouter.ts index a8b802a..022a18a 100644 --- a/ts/typedrequest.classes.typedrouter.ts +++ b/ts/typedrequest.classes.typedrouter.ts @@ -27,7 +27,7 @@ export class TypedRouter { if (!typedHandler) { const availableMethods: string[] = []; - this.handlerMap.forEach(async (handler) => { + await this.handlerMap.forEach(async (handler) => { availableMethods.push(handler.method); }); console.log(`Cannot find method for ${typedHandler}`);