fixed #91
This commit is contained in:
parent
bdea9f10fc
commit
92ca447c06
4
NEWS.md
4
NEWS.md
@ -1,6 +1,10 @@
|
||||
1.6.3 -- 2014-MM-DD
|
||||
-------------------
|
||||
|
||||
Bug fixes:
|
||||
|
||||
* layergroup accept both map_key and api_key (#91)
|
||||
|
||||
1.6.2 -- 2014-01-23
|
||||
-------------------
|
||||
|
||||
|
@ -290,7 +290,7 @@ module.exports = function(){
|
||||
|
||||
var dbName = req.params.dbname;
|
||||
var usr = this.userByReq(req);
|
||||
var key = req.params.map_key;
|
||||
var key = req.params.map_key || req.params.api_key;
|
||||
|
||||
var cacheKey = dbName + ':' + token;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user