Skip to content
Snippets Groups Projects
Commit 71701e46 authored by Dennis's avatar Dennis
Browse files

stringify

parent 020035fa
No related branches found
No related tags found
No related merge requests found
......@@ -183,4 +183,4 @@ class OdshAutocompleteController(ApiController):
if solr_response.hits == 0:
raise SearchError('Dataset not found in the search index')
else:
return base.response.body_file.write(solr_response.docs[0])
return base.response.body_file.write(str(solr_response.docs[0]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment