From 385022de80bbd6b7c8553a12a96b9d4477b2d7a2 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 29 Nov 2013 13:21:21 +0100 Subject: [PATCH] Revert "fixed #91" -- the fix was for an unconfirmed bug This reverts commit 915572408219fdb3b960be3c0812c16c16dd2e01. See #38 for further action --- lib/cartodb/server_options.js | 3 --- test/unit/cartodb/req2params.test.js | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index a93aabc7..27baadba 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -424,9 +424,6 @@ module.exports = function(){ // bring all query values onto req.params object _.extend(req.params, req.query); - // use both api_key and map_key to auth - req.params.map_key = req.params.map_key || req.params.api_key; - // for cartodb, ensure interactivity is cartodb_id or user specified req.params.interactivity = req.params.interactivity || 'cartodb_id'; diff --git a/test/unit/cartodb/req2params.test.js b/test/unit/cartodb/req2params.test.js index 5ad1e408..b1e8b12e 100644 --- a/test/unit/cartodb/req2params.test.js +++ b/test/unit/cartodb/req2params.test.js @@ -77,7 +77,6 @@ suite('req2params', function() { assert.equal(qo.cache_buster, query.cache_buster) assert.equal('test', query.api_key) assert.equal(undefined, query.non_included) - assert.equal(query.map_key, 'test') done(); }); });