Comment out Stripe event check at boot. Very bug prone, needs fixing later

This commit is contained in:
Jonathan Barrow
2023-02-15 15:57:16 -05:00
parent 4b9d1c34de
commit aae1897a4c

View File

@@ -146,6 +146,7 @@ app.set('view engine', 'handlebars');
logger.info('Starting server');
database.connect().then(() => {
app.listen(port, async () => {
/*
const events = await stripe.events.list({
delivery_success: false // failed webhooks
});
@@ -153,6 +154,7 @@ database.connect().then(() => {
for (const event of events.data) {
await util.handleStripeEvent(event);
}
*/
logger.success(`Server listening on http://localhost:${port}`);
});