diff --git a/services/web/app/coffee/Features/Subscription/DomainLicenceController.coffee b/services/web/app/coffee/Features/Subscription/DomainLicenceController.coffee index 82fd4671f1..f131b0118e 100644 --- a/services/web/app/coffee/Features/Subscription/DomainLicenceController.coffee +++ b/services/web/app/coffee/Features/Subscription/DomainLicenceController.coffee @@ -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