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 issue when trying to modify user profiles #20

Merged
merged 3 commits into from
Sep 21, 2021
Merged

Fix issue when trying to modify user profiles #20

merged 3 commits into from
Sep 21, 2021

Conversation

Techassi
Copy link
Contributor

This PR introduces:

  • Optimized user profile selection and removing duplicate code
  • Fix issue while modifying user profiles

Fix

When trying to modify a user the changes were rejected because a user with the same alias already exists. This fixes the issue by looking at the index of the changed user. If we look at the same user we skip validation.

When trying to modify a user the changes were rejected because a user with the same alias already exists.

This fixes the issue by looking at the index of the changed user. If we look at the same user we skip validation.
@matsuyoshi30
Copy link
Owner

Hi @Techassi. Sorry for the delay and thanks for your contribution again! Check my comment, please.

@matsuyoshi30
Copy link
Owner

Looks great! Thanks for your contribution again @Techassi!

@matsuyoshi30 matsuyoshi30 merged commit 739df2b into matsuyoshi30:main Sep 21, 2021
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.

None yet

2 participants