Browse Source

[#771] fix 500 error when acp not provided

Guénaël Muller 6 years ago
parent
commit
b380df5d9b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      backend/tracim_backend/views/core_api/schemas.py

+ 1 - 0
backend/tracim_backend/views/core_api/schemas.py View File

299
         example='test',
299
         example='test',
300
         description='search text to query',
300
         description='search text to query',
301
         validate=Length(min=2),
301
         validate=Length(min=2),
302
+        required=True,
302
     )
303
     )
303
     @post_load
304
     @post_load
304
     def make_autocomplete(self, data):
305
     def make_autocomplete(self, data):