From 98d15e2e346ff9b79710b4a5671300688794ca98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Mon, 16 Apr 2018 18:57:28 +0200 Subject: [PATCH] Typo --- lib/cartodb/middleware/coordinates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;