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,6 +299,7 @@ class AutocompleteQuerySchema(marshmallow.Schema):
299 299
         example='test',
300 300
         description='search text to query',
301 301
         validate=Length(min=2),
302
+        required=True,
302 303
     )
303 304
     @post_load
304 305
     def make_autocomplete(self, data):