Error when using user update API
Your Rocket.Chat version: 0.45.0
I'm getting this error when updating user via rest API:
Error: Meteor.userId can only be invoked in method calls. Use this.userId in publish functions.
@tristanflorcb is this error still happening today?
I'm getting it since 0.55.0-rc.4. 0.55.0-rc3 still worked...and limit-rated. Probably has to do with pull #6659 fixing #5491 as it's the only thing changing userId to Meteor.userId in between the two (and not in 0.55.0, as the releases page says)
Additional information - 0.55.0-rc.4 broke updating of both email and username fields. Before that version, only updating of the name field was broken. All other updates don't seem to have the rate-limiting checks and as such are free to update.
@rocket-cat close Closing due to lack of activity. Please test on latest and reopen or create a new issue if necessary.