mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 20:56:39 +00:00
fix: not optional None
This commit is contained in:
parent
2a0ce65421
commit
8a1c9d325b
|
@ -113,6 +113,10 @@ def get_user_by_username(username: str) -> Optional[UserDataUser]:
|
|||
username="root",
|
||||
user_type=UserDataUserOrigin.ROOT,
|
||||
ssh_keys=get_ssh_keys(username="root"),
|
||||
email=None, # TODO i cant delete this None ????
|
||||
directmemberof=None,
|
||||
memberof=None,
|
||||
displayname=None,
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue