Skip to content

Commit

Permalink
[Fixes #51] Bug: creating user via json_content expects username, als…
Browse files Browse the repository at this point in the history
…o fixes bug when using delete user
  • Loading branch information
mwallschlaeger committed Jun 17, 2024
1 parent 4d8e296 commit 4814677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonoderest/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def patch(

def cmd_create(
self,
username: str = None,
username: Optional[str] = None,
email: str = "",
first_name: str = "",
last_name: str = "",
Expand Down Expand Up @@ -210,7 +210,7 @@ def cmd_create(

def create(
self,
username: str = None,
username: Optional[str] = None,
email: str = "",
first_name: str = "",
last_name: str = "",
Expand Down

0 comments on commit 4814677

Please sign in to comment.