Fix typo
This commit is contained in:
parent
40dc94e010
commit
669707b26c
@ -81,10 +81,13 @@ UserLimitsApi.prototype.getTimeoutRenderLimit = function (username, apiKey, call
|
||||
});
|
||||
},
|
||||
function getUserTimeoutRenderLimits(err, authorized) {
|
||||
var next = this;
|
||||
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
self.metadataBackend.getUserTimeoutRenderLimits(username, authorized, this);
|
||||
|
||||
self.metadataBackend.getUserTimeoutRenderLimits(username, authorized, next);
|
||||
},
|
||||
function setTilerRenderLimit(err, timeoutRenderLimit) {
|
||||
if (err) {
|
||||
|
@ -69,7 +69,7 @@ describe('user timeout limits', function () {
|
||||
|
||||
var mapConfig = createMapConfig(TestClient.CARTOCSS.POINTS);
|
||||
var testClient = new TestClient(mapConfig, 1234);
|
||||
testClient.getTile(4, 4, 4, {}, function (err, /* res, tile */) {
|
||||
testClient.getTile(4, 4, 4, {}, function (err /*, res, tile */) {
|
||||
assert.ok(err, err);
|
||||
// TODO: check timeout tile
|
||||
testClient.drain(done);
|
||||
|
Loading…
Reference in New Issue
Block a user