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] Promise await for sendMessage in livechat/messages endpoint #15460

Merged

Conversation

hmagarotto
Copy link
Contributor

The endpoint "livechat/messages" is returning an empty response due to an asynchronous function call without waiting for result (Promise.await).

This PR only adds a Promise.await on this endpoint handler.

@renatobecker-zz renatobecker-zz merged commit c382831 into RocketChat:develop Oct 9, 2019
@rodrigok rodrigok mentioned this pull request Oct 27, 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.

4 participants