- Update GET signature to (req: NextRequest, ctx: { params: Promise<{id:string}> })
- Await ctx.params and pass id to Convex client
- Keeps NextResponse return type
|
||
|---|---|---|
| .. | ||
| [id]/details | ||
| access | ||
| delete | ||
| links | ||
| rename | ||
| toggle-active | ||
- Update GET signature to (req: NextRequest, ctx: { params: Promise<{id:string}> })
- Await ctx.params and pass id to Convex client
- Keeps NextResponse return type
|
||
|---|---|---|
| .. | ||
| [id]/details | ||
| access | ||
| delete | ||
| links | ||
| rename | ||
| toggle-active | ||