Skip to content

Commit

Permalink
Properly marshal extensions list
Browse files Browse the repository at this point in the history
  • Loading branch information
jtc42 authored Jul 7, 2020
1 parent 9490527 commit 82124c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/labthings/default_views/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def get(self):
Returns a list of Extension representations, including basic documentation.
Describes server methods, web views, and other relevant Lab Things metadata.
"""
return registered_extensions().values() or []
return self.schema.dump(registered_extensions().values() or [])

0 comments on commit 82124c9

Please sign in to comment.