Skip to content

Commit

Permalink
Merge pull request #58 from GeoNodeUserGroup-DE/issue_#56_Bug_maps_cr…
Browse files Browse the repository at this point in the history
…eate_does_not_unpack_dict_before_return

[Fixes #56] Bug: maps create does not unpack dict before return
  • Loading branch information
mwallschlaeger authored May 16, 2024
2 parents 002c5c0 + cbf1c71 commit d87ea94
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions geonoderest/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,4 @@ def create(
endpoint=self.ENDPOINT_NAME,
params=json_content,
)
return r[self.JSON_OBJECT_NAME]



return r[self.SINGULAR_RESOURCE_NAME]

0 comments on commit d87ea94

Please sign in to comment.