Merge pull request #922 from CartoDB/fix-category-filter

Add query params when instantiating template
This commit is contained in:
Daniel 2018-03-28 16:06:55 +02:00 committed by GitHub
commit 48ffe5e660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ function getTemplate (
const { template_id } = req.params;
const { auth_token } = req.query;
const params = { dbuser, dbname, dbpassword, dbhost, dbport };
const params = Object.assign({ dbuser, dbname, dbpassword, dbhost, dbport }, req.query);
const mapConfigProvider = new NamedMapMapConfigProvider(
templateMaps,