diff options
Diffstat (limited to 'talerbank/app/schemas.py')
-rw-r--r-- | talerbank/app/schemas.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/talerbank/app/schemas.py b/talerbank/app/schemas.py index 90c39d4..f61e448 100644 --- a/talerbank/app/schemas.py +++ b/talerbank/app/schemas.py @@ -156,8 +156,10 @@ HISTORY_RANGE_REQUEST_SCHEMA = { "cancelled": {"type": "string", "pattern": "^(omit|show)$", "required": False}, - "start": {"type": "integer"}, - "end": {"type": "integer"}, + "start": {"type": "string", + "pattern": r"^[0-9]+$"}, + "end": {"type": "string", + "pattern": r"^[0-9]+$"}, "ordering": {"type": "string", "pattern": r"^(ascending|descending)$", "required": False}, |