Skip to content

Commit

Permalink
fix: routes.json validation for project cards and columns
Browse files Browse the repository at this point in the history
  • Loading branch information
slavahatnuke authored and gr2m committed Nov 17, 2017
1 parent 8973c5e commit 072a53f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/routes.json
Expand Up @@ -3292,9 +3292,9 @@
"position": {
"type": "String",
"required": true,
"validation": "^(top|bottom|after:\\d)$",
"validation": "^(top|bottom|after:\\d+)$",
"invalidmsg": "",
"description": "Can be one of top, bottom, or after:<column-id>, where <column-id> is the id value of a column in the same project."
"description": "Can be one of top, bottom, or after:<card-id>, where <card-id> is the id value of a card in the same project."
},
"column_id": {
"type": "String",
Expand Down Expand Up @@ -3356,7 +3356,7 @@
"position": {
"type": "String",
"required": true,
"validation": "^(first|last|after:\\d)$",
"validation": "^(first|last|after:\\d+)$",
"invalidmsg": "",
"description": "Can be one of first, last, or after:<column-id>, where <column-id> is the id value of a column in the same project."
}
Expand Down

0 comments on commit 072a53f

Please sign in to comment.