added logging

This commit is contained in:
Henry Oswald 2016-03-14 10:08:47 +00:00
parent 15c6e49d1a
commit 086875d50c

View file

@ -7,6 +7,7 @@ logger = require("logger-sharelatex")
module.exports = UserHandler =
populateGroupLicenceInvite: (user, callback)->
logger.log user_id:user._id, "populating any potential group licence invites"
licence = SubscriptionDomainHandler.getLicenceUserCanJoin user
if !licence?
return callback()