feat: GET /chats/:roomId/users [breaking]

This commit is contained in:
Julian Lam
2021-12-20 17:04:16 -05:00
parent d5fd098ecf
commit 6eea6451d2
8 changed files with 102 additions and 31 deletions

View File

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