diff --git a/app/api/posts/[id]/route.ts b/app/api/posts/[id]/route.ts index 0f2fd81..5792c90 100644 --- a/app/api/posts/[id]/route.ts +++ b/app/api/posts/[id]/route.ts @@ -37,6 +37,7 @@ export async function PUT( codeLanguage, audioDuration, audioTitle, + audioUrl, stampedText, } = body; @@ -61,6 +62,7 @@ export async function PUT( codeLanguage, audioDuration, audioTitle, + audioUrl, stampedText, }, }); diff --git a/app/api/posts/route.ts b/app/api/posts/route.ts index dda164a..d758c01 100644 --- a/app/api/posts/route.ts +++ b/app/api/posts/route.ts @@ -41,6 +41,7 @@ export async function POST(request: Request) { codeLanguage, audioDuration, audioTitle, + audioUrl, stampedText, } = body; @@ -65,6 +66,7 @@ export async function POST(request: Request) { codeLanguage, audioDuration, audioTitle, + audioUrl, stampedText, }, });