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

Bug fix -- getAvatar would falsely return "user not admin" when user requested own avatar #469

Merged
merged 2 commits into from Feb 13, 2024

Conversation

brian-doherty
Copy link
Contributor

This was because user and reqUser were deeply equal but different objects. Changed to check their IDs instead.

brian-doherty and others added 2 commits February 13, 2024 16:27
…wn avatar because User objects were not the same object. Fixed to test IDs instead.
@sentriz sentriz merged commit 2949b4c into sentriz:master Feb 13, 2024
1 check passed
@sentriz
Copy link
Owner

sentriz commented Feb 13, 2024

oh nice, thanks!

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