mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
feat: GET /chats/:roomId/users [breaking]
This commit is contained in:
@@ -54,7 +54,10 @@ Chats.rename = async (req, res) => {
|
||||
};
|
||||
|
||||
Chats.users = async (req, res) => {
|
||||
// ...
|
||||
const users = await api.chats.users(req, {
|
||||
...req.params,
|
||||
});
|
||||
helpers.formatApiResponse(200, res, users);
|
||||
};
|
||||
|
||||
Chats.invite = async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user