Prevent double rendering error

This commit is contained in:
Alberto Fernández Capel 2018-06-07 15:05:04 +01:00
parent d1b1e6c299
commit 30b935befd

View file

@ -43,7 +43,7 @@ module.exports =
TeamInvitesHandler.acceptInvite token, userId, (err, results) ->
return handleError(err, req, res, next) if err?
res.sendStatus 204
res.sendStatus 204
revokeInvite: (req, res) ->
email = req.params.email