You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.
This can cause an error to be thrown after the request has finished. My suggestion would be to await verifyHeader and make constructEvent an async function as well.
The text was updated successfully, but these errors were encountered:
verifyHeader
is not an async function in thestripe-node
implementation of the webhook.https://github.com/stripe/stripe-node/blob/0c67cd3ac1baa63ccb751bfbb1dcf964b946fada/lib/Webhooks.js#L70
This can cause an error to be thrown after the request has finished. My suggestion would be to await
verifyHeader
and makeconstructEvent
an async function as well.The text was updated successfully, but these errors were encountered: