From 31004a7e8976867ad16de81bfbb1fff848d4eb51 Mon Sep 17 00:00:00 2001 From: useMotionValue Date: Sun, 30 Apr 2023 17:15:03 +0800 Subject: [PATCH] feat: save to notion --- app/api/notion/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/notion/route.ts b/app/api/notion/route.ts index ddb6474ce..4d853b887 100644 --- a/app/api/notion/route.ts +++ b/app/api/notion/route.ts @@ -34,10 +34,10 @@ export async function POST(req: NextRequest) { }, plain_text: topic, }, - ], + ] as any, }, }, - children: blocks, + children: blocks as any, }); return NextResponse.json(res); }