fix payments

This commit is contained in:
Emily
2024-06-11 23:01:54 +02:00
parent 7460ad5ed4
commit b7c3ef19ba
8 changed files with 101 additions and 124 deletions

View File

@@ -17,8 +17,7 @@ export default async () => {
config.EMAIL_PASS,
);
StripeService.init(config.STRIPE_SECRET, config.STRIPE_WH_SECRET);
StripeService.init(config.STRIPE_SECRET, config.STRIPE_WH_SECRET, false);
if (!connection || connection.connection.readyState == mongoose.ConnectionStates.disconnected) {
console.log('[DATABASE] Connecting');