ready for build
This commit is contained in:
@@ -3,14 +3,11 @@ import { getLocaleFromCookies } from '@/lib/locale';
|
||||
import { localizeContent, localizeText } from '@/lib/domain';
|
||||
import { notFound, ok } from '@/lib/api-response';
|
||||
|
||||
type RouteContext = {
|
||||
params: {
|
||||
id: string;
|
||||
};
|
||||
};
|
||||
|
||||
export async function GET(request: Request, context: RouteContext) {
|
||||
const projectId = context.params.id;
|
||||
export async function GET(
|
||||
request: Request,
|
||||
{ params }: { params: Promise<{ id: string }> },
|
||||
) {
|
||||
const { id: projectId } = await params;
|
||||
|
||||
const locale = await getLocaleFromCookies();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user