mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 08:37:07 +02:00
feat: POST /chats/:roomId/users
This commit is contained in:
@@ -61,7 +61,12 @@ Chats.users = async (req, res) => {
|
||||
};
|
||||
|
||||
Chats.invite = async (req, res) => {
|
||||
// ...
|
||||
const users = await api.chats.invite(req, {
|
||||
...req.body,
|
||||
roomId: req.params.roomId,
|
||||
});
|
||||
|
||||
helpers.formatApiResponse(200, res, users);
|
||||
};
|
||||
|
||||
Chats.kick = async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user