Add query params when instantiating template
This commit is contained in:
parent
0315b32d2b
commit
22fdc3d1bf
@ -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