Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug response 500 when user update profile #397

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

ToriForH
Copy link
Collaborator

@ToriForH ToriForH commented Sep 17, 2024

#7487
update service method saveUserProfile() to update set of notificationPreferences instead of replace it

import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.*;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no wildcard imports

Copy link
Collaborator

@holotsvan holotsvan Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In intellij you could go to settings -> editor -> code style -> java

make sure Use single class import is enabled
in class count to use import with '*' and names count to use static import with '*' set some big number (e.g 999) and intellij idea would import each class separately.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for advice to configure settings!

Copy link

@ToriForH ToriForH merged commit bec87c4 into dev Sep 18, 2024
3 checks passed
@ToriForH ToriForH deleted the fixbug/response-500-when-user-update-profile branch September 18, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants