summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJ.F2019-09-24 19:29:51 +0200
committerJ.F2019-09-24 19:29:51 +0200
commit5570b38f6cd0581d1fc1676428d702759a091a4d (patch)
treec7d8d0e50cb4b10daf895d51b6e83a3acf86be0f /main.py
parent70978f7db245e30206486fc4c0605cc992005aac (diff)
make filename and key required fields
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 9349ec1..d8649d7 100644
--- a/main.py
+++ b/main.py
@@ -190,8 +190,8 @@ def create_app(test_config=None):
190 'schema': { 190 'schema': {
191 'type': 'dict', 191 'type': 'dict',
192 'schema': { 192 'schema': {
193 'key': {'type': 'string'}, 193 'key': {'type': 'string', 'required': True},
194 'file_name': {'type': 'string'} 194 'file_name': {'type': 'string', 'required': True}
195 } 195 }
196 } 196 }
197 } 197 }