mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-06-24 14:20:34 -04:00
make filename and key required fields
This commit is contained in:
parent
70978f7db2
commit
5570b38f6c
2 changed files with 16 additions and 39 deletions
4
main.py
4
main.py
|
@ -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}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue