From c8ab36f44fd8d219c7e5c6178cb92687982e3504 Mon Sep 17 00:00:00 2001 From: shinya Date: Thu, 14 Aug 2025 16:08:57 +0800 Subject: [PATCH] fix: enable upstash change category --- src/app/api/admin/category/route.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app/api/admin/category/route.ts b/src/app/api/admin/category/route.ts index 3f1d0ff..19df5c7 100644 --- a/src/app/api/admin/category/route.ts +++ b/src/app/api/admin/category/route.ts @@ -26,14 +26,6 @@ export async function POST(request: NextRequest) { { status: 400 } ); } - if (storageType === 'upstash') { - return NextResponse.json( - { - error: 'Upstash 实例请通过配置文件调整', - }, - { status: 400 } - ); - } try { const body = (await request.json()) as BaseBody & Record;