Skip to content

Commit

Permalink
Merge pull request #5599 from RocketChat/MartinSchoeler-patch-1
Browse files Browse the repository at this point in the history
API Groups rename fix
  • Loading branch information
engelgabriel authored Jan 16, 2017
2 parents 7930d8c + 990c419 commit 0595acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-api/server/v1/groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ RocketChat.API.v1.addRoute('groups.rename', { authRequired: true }, {
});

return RocketChat.API.v1.success({
channel: RocketChat.models.Rooms.findOneById(findResult.rid, { fields: RocketChat.API.v1.defaultFieldsToExclude })
group: RocketChat.models.Rooms.findOneById(findResult.rid, { fields: RocketChat.API.v1.defaultFieldsToExclude })
});
}
});
Expand Down

0 comments on commit 0595acb

Please sign in to comment.