diff --git a/lib/cartodb/middleware/coordinates.js b/lib/cartodb/middleware/coordinates.js index d02b5624..43fa0fb6 100644 --- a/lib/cartodb/middleware/coordinates.js +++ b/lib/cartodb/middleware/coordinates.js @@ -12,7 +12,7 @@ module.exports = function coordinates (validate = { z: true, x: true, y: true }) return next(err); } - // Negatives values for x param are valid. The x param is wrapped + // Negative values for x param are valid. The x param is wrapped if (validate.x && !integerNumber.test(x)) { const err = new Error(`Invalid coodinate 'x' value (${x}). It should be a number`); err.http_status = 400;