diff --git a/frontend/app/api/recipes/[id]/image/route.ts b/frontend/app/api/recipes/[id]/image/route.ts index 357c6d2d..32740840 100644 --- a/frontend/app/api/recipes/[id]/image/route.ts +++ b/frontend/app/api/recipes/[id]/image/route.ts @@ -4,7 +4,7 @@ const API_BASE = process.env.NEXT_PUBLIC_API_URL_INTERNAL || 'http://recipe-api: export async function POST( request: NextRequest, - { params }: { params: { id: string } }, + { params }: { params: Promise<{ id: string }> }, ) { const { id } = await params; const body = await request.text();