feat: POST /api/v3/chats, chat room creation, plus openAPI docs update

This commit is contained in:
Julian Lam
2021-12-13 14:02:02 -05:00
parent 94bead71fe
commit 40b4544e70
9 changed files with 97 additions and 13 deletions

View File

@@ -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) => {