Merge pull request #922 from CartoDB/fix-category-filter
Add query params when instantiating template
This commit is contained in:
commit
48ffe5e660
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user