From b913746752b86062a951635758bfd13a5b0f5dcc Mon Sep 17 00:00:00 2001 From: Ayumu AIZAWA Date: Thu, 11 May 2017 18:23:24 +0900 Subject: [PATCH] [bug] wrong config setting for dababase. (#2984) --- streaming/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/index.js b/streaming/index.js index d3fb8d647..a9197624b 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -37,7 +37,7 @@ const dbUrlToConfig = (dbUrl) => { } if (params.pathname) { - config.database = params.params.pathname.split('/')[1] + config.database = params.pathname.split('/')[1] } const ssl = params.query && params.query.ssl