upgrade to next 15 (#151)
This commit is contained in:
1 parent
6dc6b4d213
commit
d2587aed0d
28 files changed
+6814
-8889
No files matched your search
@@ -27,7 +27,7 @@ const allowedEvents: Stripe.Event.Type[] = [
|
||||
|
||||
export async function POST(req: Request) {
|
||||
const body = await req.text();
|
||||
const signature = headers().get("Stripe-Signature");
|
||||
const signature = (await headers()).get("Stripe-Signature");
|
||||
|
||||
if (!signature) {
|
||||
console.error("No signature");
|
||||
|
||||
Reference in new issue
Block a user