parent
ac31c69c80
commit
67e4e7e99b
1
NEWS.md
1
NEWS.md
@ -4,6 +4,7 @@
|
|||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
* layergroup accept both map_key and api_key (#91)
|
* layergroup accept both map_key and api_key (#91)
|
||||||
|
* Fix public instanciation of signed template accessign private data (#114)
|
||||||
|
|
||||||
1.6.2 -- 2014-01-23
|
1.6.2 -- 2014-01-23
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -448,8 +448,13 @@ var CartodbWindshaft = function(serverOptions) {
|
|||||||
fakereq = { query: {}, params: {}, headers: _.clone(req.headers) };
|
fakereq = { query: {}, params: {}, headers: _.clone(req.headers) };
|
||||||
ws.setDBParams(cdbuser, fakereq.params, this);
|
ws.setDBParams(cdbuser, fakereq.params, this);
|
||||||
},
|
},
|
||||||
function createLayergroup(err) {
|
function setApiKey(err){
|
||||||
if ( err ) throw err;
|
if ( err ) throw err;
|
||||||
|
cartoData.getUserMapKey(cdbuser, this);
|
||||||
|
},
|
||||||
|
function createLayergroup(err, val) {
|
||||||
|
if ( err ) throw err;
|
||||||
|
fakereq.params.api_key = val;
|
||||||
ws.createLayergroup(layergroup, fakereq, this);
|
ws.createLayergroup(layergroup, fakereq, this);
|
||||||
},
|
},
|
||||||
function signLayergroup(err, resp) {
|
function signLayergroup(err, resp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user