Merge pull request #1254 from sharelatex/ta-fix-error-log

fix var name in error logging

GitOrigin-RevId: 5cb11d033737faabb235101049f4c8c55e1f7600
This commit is contained in:
Timothée Alby 2018-12-12 16:42:11 +02:00 committed by sharelatex
parent 42c3ffbca4
commit 4861a86a21

View file

@ -13,7 +13,7 @@ module.exports =
logger.log subscriptionId: subscription._id, userToRemove_id:userToRemove_id, "removing user from group subscription"
SubscriptionGroupHandler.removeUserFromGroup subscription._id, userToRemove_id, (err)->
if err?
logger.err err:err, adminUserId:adminUserId, userToRemove_id:userToRemove_id, "error removing user from group"
logger.err err:err, subscriptionId: subscription._id, userToRemove_id:userToRemove_id, "error removing user from group"
return next(err)
res.send()