|
@@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from 'next/server';
|
|
|
import { ResultDto } from '@/types/response/common';
|
|
import { ResultDto } from '@/types/response/common';
|
|
|
import { fetchJson } from '@/lib/utils/server';
|
|
import { fetchJson } from '@/lib/utils/server';
|
|
|
|
|
|
|
|
-export async function GET(request: NextRequest, { params }: { params: Promise<{ path: string[] }> }) {
|
|
|
|
|
|
|
+export async function GET(_request: NextRequest, { params }: { params: Promise<{ path: string[] }> }) {
|
|
|
const { path } = await params;
|
|
const { path } = await params;
|
|
|
const endpoint = `/api/document/${path.join('/')}`;
|
|
const endpoint = `/api/document/${path.join('/')}`;
|
|
|
|
|
|