File tree 2 files changed +3
-1
lines changed
src/simcore_service_webserver/users/_common
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ class ToUserUpdateDB(BaseModel):
55
55
first_name : str | None = None
56
56
last_name : str | None = None
57
57
58
+ privacy_hide_username : bool | None = None
58
59
privacy_hide_fullname : bool | None = None
59
60
privacy_hide_email : bool | None = None
60
61
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ def test_mapping_update_models_from_rest_to_db():
127
127
{
128
128
"first_name" : "foo" ,
129
129
"userName" : "foo1234" ,
130
- "privacy" : {"hideFullname" : False },
130
+ "privacy" : {"hideFullname" : False , "hideUsername" : True },
131
131
}
132
132
)
133
133
@@ -139,6 +139,7 @@ def test_mapping_update_models_from_rest_to_db():
139
139
"first_name" : "foo" ,
140
140
"name" : "foo1234" ,
141
141
"privacy_hide_fullname" : False ,
142
+ "privacy_hide_username" : False ,
142
143
}
143
144
144
145
You can’t perform that action at this time.
0 commit comments