mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 16:50:44 +02:00
added subscription handler null check
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user