Skip to content

Commit

Permalink
Update lib/galaxy/webapps/galaxy/services/visualizations.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marius van den Beek <[email protected]>
  • Loading branch information
guerler and mvdbeek committed Nov 15, 2023
1 parent 54f9c33 commit 50edba2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/galaxy/webapps/galaxy/services/visualizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def index(

entries, total_matches = self.manager.index_query(trans, payload, include_total_count)
return (
VisualizationSummaryList.construct(
__root__=[trans.security.encode_all_ids(entry.to_dict(), recursive=True) for entry in entries]
VisualizationSummaryList(__root__=[entry.to_dict() for entry in entries])
),
total_matches,
)

0 comments on commit 50edba2

Please sign in to comment.