From: Ayumu AIZAWA Date: Thu, 11 May 2017 09:23:24 +0000 (+0900) Subject: [bug] wrong config setting for dababase. (#2984) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=b913746752b86062a951635758bfd13a5b0f5dcc;p=mastodon.git [bug] wrong config setting for dababase. (#2984) --- 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