Pick format from user params

This commit is contained in:
Raul Ochoa 2015-04-28 16:10:50 +02:00
parent 1f3a073f21
commit 6843692f01

View File

@ -166,7 +166,7 @@ NamedStaticMapsController.prototype.named = function(req, res) {
headers: _.clone(fakeReq.headers),
params: _.extend(_.clone(fakeReq.params), {
token: layergroupId,
format: 'png'
format: req.params.format
})
};