From e4679d6a6359258cee514d330728a8efd03b240a Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Thu, 12 Nov 2015 18:58:01 -0600 Subject: [PATCH] Adjust the way email invitations resolve. --- website/src/controllers/api-v2/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {}); } }); };