Skip to content

Commit

Permalink
Dehydrate organization field (#11498)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Fabiani <alessio.fabiani@geosolutionsgroup.com>
  • Loading branch information
fvicent and afabiani authored Sep 25, 2023
1 parent ae6a48a commit a9afe17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geonode/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ def dehydrate(self, bundle):
documents_count=bundle.data.get("documents_count", 0),
maps_count=bundle.data.get("maps_count", 0),
layers_count=bundle.data.get("layers_count", 0),
organization=bundle.data.get("organization", 0),
)
return bundle

Expand Down

0 comments on commit a9afe17

Please sign in to comment.