ResponseEntity < ? > function ( @ Validated @ RequestBody ProfileDTO arg0 , Authentication arg1 ) { return this . addProfile ( ( ( User ) arg1 . getPrincipal ( ) ) . getId ( ) , arg0 ) ; }
add a profile to the current user . an empty profile is created when a user is created , so this method fills the existing fields concode_field_sep UserService userService concode_field_sep ResponseEntity<?> resetProfile concode_elem_sep ResponseEntity<?> changeProfile