Skip to content

[FIX] REST API user.update throwing error due to rate limiting#6796

Merged
rodrigok merged 1 commit into
developfrom
fix-api-user.update-rate-limit-error
Apr 27, 2017
Merged

[FIX] REST API user.update throwing error due to rate limiting#6796
rodrigok merged 1 commit into
developfrom
fix-api-user.update-rate-limit-error

Conversation

@graywolf336

Copy link
Copy Markdown
Contributor

@RocketChat/core the rest api users.update was throwing an error due to the update of the rate limit functions due to the call to the RocketChat.setUsername function not being ran as the calling user.

Closes #6787

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-6796 April 25, 2017 18:12 Inactive
@graywolf336

Copy link
Copy Markdown
Contributor Author

Would be nice to have this released as a new version due to all calls to the rest api endpoint being broke in the latest versions.

@graywolf336

graywolf336 commented Apr 25, 2017

Copy link
Copy Markdown
Contributor Author

FYI: The error from travis has nothing to do with this pull request, thus a rebuild would be nice to have.

@geekgonecrazy

geekgonecrazy commented Apr 25, 2017

Copy link
Copy Markdown
Contributor

Looks like this is failing due to an error in one of the tests. it expects :smile:<space> to equal :smile:

@engelgabriel engelgabriel added this to the 0.56.0 milestone Apr 26, 2017
@rodrigok rodrigok merged commit 157fe80 into develop Apr 27, 2017
@rodrigok rodrigok deleted the fix-api-user.update-rate-limit-error branch April 27, 2017 12:02
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.

API - users.update - "Meteor.userId can only be invoked in method calls. Use this.userId in publish functions."

4 participants