Skip to content

[IMPROVE] Return room type field on Livechat findRoom method#13078

Merged
rodrigok merged 1 commit intodevelopfrom
livechat-rest-api-find-room-fields
Jan 16, 2019
Merged

[IMPROVE] Return room type field on Livechat findRoom method#13078
rodrigok merged 1 commit intodevelopfrom
livechat-rest-api-find-room-fields

Conversation

@renatobecker-zz
Copy link
Copy Markdown

To close Livechat rooms through RocketChat.Livechat.closeRoom method, the room type field is required on the object passed by parameter.
The livechat/room.close endpoint gets the room data through the findRoom method, but it wasn't returning the room type field and, because of this, the livechat/room.close endpoint was not being able to close Livechat rooms.

@renatobecker-zz
Copy link
Copy Markdown
Author

@rodrigok, can you please review/merge this PR?
Thanks.

@rodrigok rodrigok merged commit 0839002 into develop Jan 16, 2019
@rodrigok rodrigok deleted the livechat-rest-api-find-room-fields branch January 16, 2019 17:34
@sampaiodiego sampaiodiego mentioned this pull request Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants