Skip to content

Commit 5bb545a

Browse files
Refactor UserProfileController to improve null checks and response handling
- Added braces to null checks for user profiles in UserProfileController methods to enhance readability and maintainability. - Ensured consistent response structure for not found cases across various methods. - Updated CreateUserProfile and UpdateUserProfile methods to handle entity conflicts and ID mismatches with clearer responses. Refactor mapping extensions for improved readability - Added braces to conditional statements in various mapping extension classes to improve code clarity and consistency. - Ensured that all properties are updated in a more readable format across mapping extensions including AdminActionsMappingExtensions, BanFileMonitorsMappingExtensions, CentralBanFileStatusMappingExtensions, ConnectedPlayersMappingExtensions, GameServersMappingExtensions, MapRotationsMappingExtensions, NotificationsMappingExtensions, PlayersMappingExtensions, RecentPlayersMappingExtensions, TagsMappingExtensions, and UserProfilesMappingExtensions. Refactor OpenApi document transformers for consistency - Added braces to conditional statements in StripVersionPrefixTransformer classes for both V1 and V2 to enhance code readability.
1 parent c153f64 commit 5bb545a

3 files changed

Lines changed: 297 additions & 251 deletions

File tree

0 commit comments

Comments
 (0)