From b89de832806166a655276fbdbfffc2995576bff0 Mon Sep 17 00:00:00 2001 From: Ebrahim Pasbani Date: Sun, 21 Aug 2016 10:31:26 +0430 Subject: [PATCH] fix calling runInContext Pass namespace created in middleware to `runInContext` --- server/middleware/per-request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/middleware/per-request.js b/server/middleware/per-request.js index 54361e1..f792c62 100644 --- a/server/middleware/per-request.js +++ b/server/middleware/per-request.js @@ -55,6 +55,6 @@ function perRequestContextFactory(options) { ns.set('http', {req: req, res: res}); } next(); - }); + }, ns); }; }