File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/simcore_service_webserver/users/_common Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ class ToUserUpdateDB(BaseModel):
5555 first_name : str | None = None
5656 last_name : str | None = None
5757
58+ privacy_hide_username : bool | None = None
5859 privacy_hide_fullname : bool | None = None
5960 privacy_hide_email : bool | None = None
6061
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ def test_mapping_update_models_from_rest_to_db():
127127 {
128128 "first_name" : "foo" ,
129129 "userName" : "foo1234" ,
130- "privacy" : {"hideFullname" : False },
130+ "privacy" : {"hideFullname" : False , "hideUsername" : True },
131131 }
132132 )
133133
@@ -139,6 +139,7 @@ def test_mapping_update_models_from_rest_to_db():
139139 "first_name" : "foo" ,
140140 "name" : "foo1234" ,
141141 "privacy_hide_fullname" : False ,
142+ "privacy_hide_username" : False ,
142143 }
143144
144145
You can’t perform that action at this time.
0 commit comments