website refactor
This commit is contained in:
@@ -3,9 +3,9 @@ import { GetTrackImagePageQuery } from '@/lib/page-queries/media/GetTrackImagePa
|
||||
|
||||
export async function GET(
|
||||
request: NextRequest,
|
||||
{ params }: { params: { trackId: string } }
|
||||
{ params }: { params: Promise<{ trackId: string }> }
|
||||
) {
|
||||
const { trackId } = params;
|
||||
const { trackId } = await params;
|
||||
|
||||
const result = await GetTrackImagePageQuery.execute({ trackId });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user