make filename and key required fields

This commit is contained in:
J.F 2019-09-24 19:29:51 +02:00
parent 70978f7db2
commit 5570b38f6c
2 changed files with 16 additions and 39 deletions

View file

@ -190,8 +190,8 @@ def create_app(test_config=None):
'schema': {
'type': 'dict',
'schema': {
'key': {'type': 'string'},
'file_name': {'type': 'string'}
'key': {'type': 'string', 'required': True},
'file_name': {'type': 'string', 'required': True}
}
}
}