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

Make sure user ids are integers when resolving member names #356

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

vgeorge
Copy link
Member

@vgeorge vgeorge commented Dec 23, 2022

Some parts of the app call the function Team.resolveMemberNames with an array of strings, which causes an error updating username caching. Adding a team member is failing because of this.

I added a fix to ensure user ids are integers. Ideally, we should add test coverage property types on Models.

This contributes to #298 and #355.

To test, visit a team member page and try adding a member.

@kamicut ready for review.

@vgeorge vgeorge requested a review from kamicut December 23, 2022 11:15
@vercel
Copy link

vercel bot commented Dec 23, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
osm-teams ✅ Ready (Inspect) Visit Preview Dec 23, 2022 at 11:15AM (UTC)

@vgeorge vgeorge marked this pull request as ready for review December 23, 2022 11:15
@vgeorge vgeorge merged commit 0885362 into develop Dec 23, 2022
@vgeorge vgeorge deleted the fix/resolve-member-names branch December 23, 2022 12:13
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.

2 participants