mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-10-05 07:52:42 +02:00
to 204
This commit is contained in:
@@ -64,7 +64,7 @@ export const stripeWebhook: PaymentsWebhook = async (
|
||||
} catch (err) {
|
||||
if (err instanceof UnhandledWebhookEventError) {
|
||||
// We must return a 2XX status code, otherwise Stripe will keep retrying the event.
|
||||
response.status(202).send();
|
||||
response.status(204).send();
|
||||
|
||||
// In development, it is likely that we will receive events that we are not handling.
|
||||
// E.g. via the `stripe trigger` command.
|
||||
|
Reference in New Issue
Block a user