|
@@ -135,6 +135,7 @@ module.exports = SubscriptionController =
|
|
|
RecurlyWrapper.getSubscription subscription.recurlySubscription_id,
|
|
RecurlyWrapper.getSubscription subscription.recurlySubscription_id,
|
|
|
includeAccount: true,
|
|
includeAccount: true,
|
|
|
(err, usersSubscription)->
|
|
(err, usersSubscription)->
|
|
|
|
|
+ return next(err) if err?
|
|
|
account = usersSubscription.account
|
|
account = usersSubscription.account
|
|
|
hostedLoginToken = account.hosted_login_token
|
|
hostedLoginToken = account.hosted_login_token
|
|
|
if !hostedLoginToken
|
|
if !hostedLoginToken
|