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] API endpoint users.info error: 'Cannot set property 'canViewAllInfo' of undefined' #22875

Closed
wants to merge 1 commit into from

Conversation

Fluffy-
Copy link

@Fluffy- Fluffy- commented Aug 5, 2021

Fixes #22874

We're getting an error ( Cannot set property 'canViewAllInfo' of undefined ) when calling the /api/v1/users.info endpoint when searching for a user that does not exist.

Cannot set property 'canViewAllInfo' of undefined users.info

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

Fixes RocketChat#22874 

We're getting an error ( Cannot set property 'canViewAllInfo' of undefined ) when calling the /api/v1/users.info endpoint when searching for a user that does not exist.

Cannot set property 'canViewAllInfo' of undefined users.info
@debdutdeb debdutdeb changed the title [Fix] Cannot set property 'canViewAllInfo' of undefined [Fix] API endpoint users.info error: 'Cannot set property 'canViewAllInfo' of undefined' Aug 28, 2021
@sampaiodiego sampaiodiego requested a review from a team August 30, 2021 12:39
@dougfabris
Copy link
Member

@Fluffy- Thanks for your contribution! The issue is already fixed: #23372

@dougfabris dougfabris closed this Nov 22, 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.

Users.Info API - Cannot set property 'canViewAllInfo' of undefined
3 participants