"to" >= "from"
This commit is contained in:
parent
d704a6d143
commit
bbc048d3a6
@ -71,7 +71,7 @@ Blocks.list = function(req, res) {
|
|||||||
|
|
||||||
if (to < from) {
|
if (to < from) {
|
||||||
res.status(422);
|
res.status(422);
|
||||||
res.send('/v1/blocks/ "to" must be >= to "from"');
|
res.send('/v1/blocks/ "to" must be >= "from"');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user