We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cd5cb commit 8c03d50Copy full SHA for 8c03d50
src/pyff/api.py
@@ -447,7 +447,7 @@ def search_handler(request: Request) -> Response:
447
:param request: the HTTP request with the 'query' request parameter
448
:return: a JSON search result
449
"""
450
- match = request.params.get('q', request.params.get('query', None))
+ match = request.params.get('q', request.params.get('query', ""))
451
452
# Enable matching on scope.
453
match = match.split('@').pop() if match and not match.endswith('@') else match
0 commit comments