Typo
This commit is contained in:
parent
d5c591317b
commit
98d15e2e34
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user