mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Look at subscriptionID instead of planID for checking active subscribers
This commit is contained in:
parent
e786073f5b
commit
7adfc23f2a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ countries.forEach(function(country) {
|
|||
var inactiveUsers = [];
|
||||
while (cursor.hasNext()) {
|
||||
var user = cursor.next();
|
||||
if (!user.stripe.planID) {
|
||||
if (!user.stripe.subscriptionID) {
|
||||
inactiveUsers.push(user);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue