Skip to content

Commit

Permalink
adjust userId api
Browse files Browse the repository at this point in the history
  • Loading branch information
iamblue committed Aug 25, 2017
1 parent 9163392 commit 70b125b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminServer/controllers/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ module.exports = function ($db) {
var userId = [];

if (req.params.userId) userId = req.params.userId.split(',');
if (req.body.userId) userId = req.body.userId.split(',');
if (req.body.userId) userId = req.body.userId;

return users.deleteUser({
userId: userId,
Expand Down

0 comments on commit 70b125b

Please sign in to comment.