sublinks / sublinks-api

MIT License
68 stars 17 forks source link

Refactor person setting update logic in UserController #392

Closed Pdzly closed 1 month ago

Pdzly commented 1 month ago

The logic of updating multiple fields of the Person object in the UserController has been refactored. The original combined setters and condition checks were broken down into individual condition check and setter lines. This increases readability and ensures that each field is properly checked before assignment.