-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Channel Moderators List REST API does no longer accept roomName #26262
Comments
@debdutdeb looks like you might have been the last one to touch this in #25279 any ideas? |
This is fixed in the latest develop. |
I was trying to give it a try with |
The only situation I can see this happen is if the env variable was actually not passed to the container. Can you share the command[s] or compose file you're using? |
This is the compose file I use for testing. I only replaced the image. |
@debdutdeb is there any schedule I can follow for when this fix will be released in |
@geekgonecrazy @debdutdeb are this changes already life in |
Yes this should now be fixed in the latest release. |
Ah no wait i might be confusing with another similar bug. Give me an hour; in the store. I thought this was covered in the PR. |
Hey @jadolg thanks for waiting. I just checked, it is indeed working on latest develop so I didn't confuse. |
Thank you so much for checking. I still cannot run my tests against your |
Well, the problem seems to be gone in the latest version. |
Description:
/api/v1/channels.moderators is no longer accepting listing moderators by roomName.
Calling the endpoint with only this returns
{'error': "must have required property 'roomId' [invalid-params]", 'errorType': 'invalid-params', 'success': False}
Steps to reproduce:
curl -H "X-Auth-Token: yourToken"
-H "X-User-Id: yourUserID"
http://localhost:3000/api/v1/channels.moderators?roomName=General
Expected behavior:
Get the list of moderators for the GENERAL room
Actual behavior:
Returns an error asking for roomId
{'error': "must have required property 'roomId' [invalid-params]", 'errorType': 'invalid-params', 'success': False}
Server Setup Information:
Client Setup Information
Additional context
Relevant logs:
The text was updated successfully, but these errors were encountered: