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: make adding contributors case-space-insensitive #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RonLek
Copy link
Contributor

@RonLek RonLek commented Jan 19, 2022

Issue

Leaderboard was case-sensitive to usernames. Additionally, leading and trailing spaces while adding a contributor would be added as a separate contributor.
Clipboard - January 17, 2022 12_27 AM

Fix

Lowercase and trim new usernames and compare against lowercased cached contributor list.

@RonLek
Copy link
Contributor Author

RonLek commented Jan 19, 2022

@yash-rajpal @Sing-Li could you please review this PR? Thanks.

Copy link
Member

@Sing-Li Sing-Li left a comment

Choose a reason for hiding this comment

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

please resolve minor conflict and it is good to merge - thx

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