Better group plan member counts (#10449)
* fix(group-plans): improved member count accuracy * fix(migration): don't leave server running after completion * fix(migration): don't update Stripe for non-Stripe methods Also fixes a linting issue. * fix(lint): no comma dangle here * fix(async): put async token in relevant spot * fix(lint): still more linting * fix(async): better handling for async and promises Also adds additional logging where discrepancies are found. * feat(migration): provide CSV output * fix(promises): better pause/resume * fix(migration): don't update already canceled subs * fix(groups): also address quantity/memberCount discrepancies * fix(migration): also log quantity issues * fix(migration): equation was reversed * refactor(migration): condense logic, add error catch * fix(migration): fix root cause of failed quantity update?? * fix(lint): gratuitous parens * fix(test): expect group to be updated db-side * fix(migration): actually update quantities? * fix(groups): roll back unneeded Stripe lib change, refactor migration
This commit is contained in:
+2
-1
@@ -112,5 +112,6 @@
|
||||
"CLOUDKARAFKA_USERNAME": "",
|
||||
"CLOUDKARAFKA_PASSWORD": "",
|
||||
"CLOUDKARAFKA_TOPIC_PREFIX": ""
|
||||
}
|
||||
},
|
||||
"MIGRATION_CONNECT_STRING": "mongodb://localhost:27017/habitrpg?auto_reconnect=true"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user