RocketChat / RocketChat/Rocket.Chat

Sometimes it cannot return channel info via the rest API after create channel success.

Open
#7,599 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.