mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:12:27 +00:00
added logging and default calback
This commit is contained in:
parent
f3e48e332b
commit
84db5ec23a
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ module.exports =
|
|||
|
||||
groupPlan: (user, licence)->
|
||||
key : "join-sub-#{licence.subscription_id}"
|
||||
|
||||
logger.log user_id:user_id, key:key, "creating notification key for user"
|
||||
create: (callback = ->)->
|
||||
messageOpts =
|
||||
groupName: licence.name
|
||||
|
|
|
@ -6,7 +6,7 @@ logger = require("logger-sharelatex")
|
|||
|
||||
module.exports = UserHandler =
|
||||
|
||||
populateGroupLicenceInvite: (user, callback)->
|
||||
populateGroupLicenceInvite: (user, callback = ->)->
|
||||
logger.log user_id:user._id, "populating any potential group licence invites"
|
||||
licence = SubscriptionDomainHandler.getLicenceUserCanJoin user
|
||||
if !licence?
|
||||
|
|
Loading…
Reference in a new issue