Skip to content

[Fix] API endpoint users.info error: 'Cannot set property 'canViewAllInfo' of undefined'#22875

Closed
Fluffy- wants to merge 1 commit intoRocketChat:developfrom
Fluffy-:patch-1
Closed

[Fix] API endpoint users.info error: 'Cannot set property 'canViewAllInfo' of undefined'#22875
Fluffy- wants to merge 1 commit intoRocketChat:developfrom
Fluffy-:patch-1

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

Comments