RocketChat / RocketChat/Rocket.Chat
Sometimes it cannot return channel info via the rest API after create channel success.
Open
@rodrigok is already working on this.
Since Aug 3, 2017.
area: backend
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
I have created channel via the rest API '/api/v1/channels.create'.
It is success, but the response doesn't have channel info sometimes:
{
"success": true
}
Correct return is:
{
"channel": {
...
},
"success": true
}
But when I use the Administrator user, it returns channel info every time.
Anybody know why?
Thanks!
Server Setup Information:
- Version of Rocket.Chat Server: 0.57.2
- Operating System: Ubuntu 14.04
- Deployment Method(snap/docker/tar/etc): tar
- Number of Running Instances: 1
- DB Replicaset Oplog:
- Node Version: 4.6.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.