diff --git a/services/web/app/coffee/Features/Subscription/SubscriptionUpdater.coffee b/services/web/app/coffee/Features/Subscription/SubscriptionUpdater.coffee index 98d241fbd3..9b5fe83f88 100644 --- a/services/web/app/coffee/Features/Subscription/SubscriptionUpdater.coffee +++ b/services/web/app/coffee/Features/Subscription/SubscriptionUpdater.coffee @@ -111,7 +111,8 @@ module.exports = SubscriptionUpdater = SubscriptionLocator.getGroupSubscriptionMemberOf user_id, cb overleafPlanCode: (cb) -> Modules = require '../../infrastructure/Modules' - Modules.hooks.fire 'getOverleafPlanCode', user_id, cb + Modules.hooks.fire 'getOverleafPlanCode', user_id, (err, results) -> + cb(err, results[0]) async.series jobs, (err, results)-> if err? logger.err err:err, user_id:user, "error getting subscription or group for _setUsersMinimumFeatures"