diff --git a/NEWS.md b/NEWS.md index ad13f4c6..78c528c5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,10 +3,11 @@ * Handle SQL API errors by requesting no Varnish cache * Fix X-Cache-Channel for multilayer (by token) responses -* Add last_modified field to POST layergroup response (#72) +* Add last_modified field to layergroup creation response (#72) * Deprecate signal handler for USR1, add handler for USR2 (#71) * Fix support for ampersend characters in CartoCSS * Add support for LZMA compressed GET parameters +* Add support for creating layergroups via GET 1.1.8 ----- diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index a86e7d66..b4e47c43 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -216,9 +216,8 @@ module.exports = function(){ }); }; - me.afterLayergroupCreate = function(req, response, callback) { + me.afterLayergroupCreate = function(req, mapconfig, response, callback) { var token = response.layergroupid; - var mapconfig = req.body; var sql = []; _.each(mapconfig.layers, function(lyr) { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index e63efc57..49c8c01f 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -32,7 +32,7 @@ "version": "0.8.3" }, "npm": { - "version": "1.2.15", + "version": "1.2.16", "dependencies": { "semver": { "version": "1.1.4" @@ -98,7 +98,7 @@ "version": "2.3.0" }, "node-gyp": { - "version": "0.9.3" + "version": "0.9.5" }, "fstream-npm": { "version": "0.1.4", @@ -190,7 +190,7 @@ "version": "1.3.3" }, "windshaft": { - "version": "0.10.0", + "version": "0.11.0", "dependencies": { "grainstore": { "version": "0.12.0", diff --git a/package.json b/package.json index b68cdd8b..5da7c9dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "windshaft-cartodb", - "version": "1.2.0", + "version": "1.1.9", "description": "A map tile server for CartoDB", "url": "https://github.com/Vizzuality/Windshaft-cartodb", "licenses": [{