Revert "fixed #91" -- the fix was for an unconfirmed bug
This reverts commit 9155724082
.
See #38 for further action
This commit is contained in:
parent
6c104e2aca
commit
385022de80
@ -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';
|
||||
|
||||
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user