Skip to content

Commit

Permalink
return dsl unserialized, re #11386
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Aug 22, 2024
1 parent 5d7a31d commit 12c0159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arches/app/views/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ def search_results(request, returnDsl=False):
)

if response_object:
if returnDsl:
return response_object
return JSONResponse(content=response_object)

else:
Expand Down

0 comments on commit 12c0159

Please sign in to comment.