Skip to content

Commit

Permalink
[Fixes #20] add user create function
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Wallschlaeger committed May 6, 2024
1 parent e0ca65b commit cf3ca55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion geonodectl
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ To use this tool you have to set the following environment variables before star
# PATCH
maps_patch = maps_subparsers.add_parser("patch", help="patch maps metadata")
maps_patch.add_argument(type=int, dest="pk", help="pk of map to patch")
maps_patch_mutually_exclusive_group = maps.add_mutually_exclusive_group()
maps_patch_mutually_exclusive_group = maps_patch.add_mutually_exclusive_group()

maps_patch_mutually_exclusive_group.add_argument(
"--set",
Expand Down
1 change: 1 addition & 0 deletions geonoderest/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def http_patch(self, endpoint: str, params: Dict = {}) -> Dict:
)
r.raise_for_status()
except requests.exceptions.HTTPError as err:
logging.error(r.text)
raise SystemExit(err)
return r.json()

Expand Down

0 comments on commit cf3ca55

Please sign in to comment.