mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added subscription handler null check
This commit is contained in:
parent
d80179ecc6
commit
2b8dd7248a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ module.exports =
|
|||
return callback(error) if error?
|
||||
User.findById recurlySubscription.account.account_code, (error, user) ->
|
||||
return callback(error) if error?
|
||||
SubscriptionUpdater.syncSubscription recurlySubscription, user._id, callback
|
||||
SubscriptionUpdater.syncSubscription recurlySubscription, user?._id, callback
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue