Merge pull request #883 from sharelatex/ta-domain-licence-join-fix

Fix id Accessor in Domain Licence Join Page
This commit is contained in:
Timothée Alby 2018-08-31 13:15:23 +02:00 committed by GitHub
commit 855840d89a

View file

@ -18,9 +18,9 @@ module.exports =
jobs =
partOfGroup: (cb)->
SubscriptionGroupHandler.isUserPartOfGroup user.id, licence.group_subscription_id, cb
SubscriptionGroupHandler.isUserPartOfGroup user._id, licence.group_subscription_id, cb
subscription: (cb)->
SubscriptionLocator.getUsersSubscription user.id, cb
SubscriptionLocator.getUsersSubscription user._id, cb
async.series jobs, (err, results)->
{ partOfGroup, subscription } = results