mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-01 03:09:34 +00:00
Updated to latest Next.js and ESlint version
This commit is contained in:
parent
862816858c
commit
73dda49ece
11 changed files with 704 additions and 576 deletions
|
@ -7,7 +7,7 @@ import { stripe } from '@/lib/stripe';
|
|||
|
||||
export async function POST(req: Request) {
|
||||
const body = await req.text();
|
||||
const signature = headers().get('Stripe-Signature') as string;
|
||||
const signature = (await headers()).get('Stripe-Signature') as string;
|
||||
|
||||
let event: Stripe.Event;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue