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 aa90dac commit a64d7a8
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 a64d7a8

Please sign in to comment.