mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
feat: POST /api/v3/chats, chat room creation, plus openAPI docs update
This commit is contained in:
@@ -18,7 +18,8 @@ Chats.list = async (req, res) => {
|
||||
};
|
||||
|
||||
Chats.create = async (req, res) => {
|
||||
// ...
|
||||
const roomObj = await api.chats.create(req, req.body);
|
||||
helpers.formatApiResponse(200, res, roomObj);
|
||||
};
|
||||
|
||||
Chats.exists = async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user