diff --git a/website/src/controllers/api-v2/groups.js b/website/src/controllers/api-v2/groups.js index 8832c5e501..0fc969c3af 100644 --- a/website/src/controllers/api-v2/groups.js +++ b/website/src/controllers/api-v2/groups.js @@ -684,7 +684,7 @@ var inviteByEmails = function(invites, group, req, res, next){ // Send only status code down the line because it doesn't need // info on invited users since they are not yet registered - res.send(200); + res.json(200, {}); } }); };