260427_01_ENH: 리스트 다이얼로그 및 리스트 작업 시작
This commit is contained in:
1
src/app/api/external/[[...slug]]/route.ts
vendored
1
src/app/api/external/[[...slug]]/route.ts
vendored
@@ -12,7 +12,6 @@ export const POST = async (req: NextRequest, context: RouteContext) => {
|
||||
const {slug = []} = await context.params;
|
||||
const [action] = slug;
|
||||
|
||||
console.log(slug)
|
||||
const sid = (searchParams.get("sid") ?? "").trim();
|
||||
const allowAction = ["start", "complete", "screen", "quota"]
|
||||
if(slug.length === 1 && allowAction.includes(action.toLowerCase()) && sid.length > 0){
|
||||
|
||||
Reference in New Issue
Block a user