diff options
| author | J.F | 2019-09-24 19:29:51 +0200 |
|---|---|---|
| committer | J.F | 2019-09-24 19:29:51 +0200 |
| commit | 5570b38f6cd0581d1fc1676428d702759a091a4d (patch) | |
| tree | c7d8d0e50cb4b10daf895d51b6e83a3acf86be0f /main.py | |
| parent | 70978f7db245e30206486fc4c0605cc992005aac (diff) | |
make filename and key required fields
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | } |
