Skip to content

Commit

Permalink
Add simple taxonomy endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Apr 18, 2024
1 parent 435ad5e commit 86d6db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def simple_cards():
search_results = ret.get('search_results')
for rec in search_results:
rec = rec.get('source')
rec = {k: v for k, v in ret.items() if k in KEYS and v is not None and v != []}
rec = {k: v for k, v in rec.items() if k in KEYS and v is not None and v != []}
results.append(rec)
ret['search_results'] = results
return ret
Expand Down

0 comments on commit 86d6db4

Please sign in to comment.