mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-04 14:37:34 +02:00
Merge branch 'master' of https://github.com/NodeBB/NodeBB
This commit is contained in:
@@ -24,7 +24,7 @@ Users.create = async (req, res) => {
|
||||
};
|
||||
|
||||
Users.update = async (req, res) => {
|
||||
const userObj = await api.users.update(req, req.body);
|
||||
const userObj = await api.users.update(req, { ...req.body, ...req.params });
|
||||
helpers.formatApiResponse(200, res, userObj);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user