fix(auth): allow empty string appPath inside session-creation route

This commit is contained in:
2026-05-29 19:23:06 -07:00
parent c2f71769bb
commit eb709d111d

View File

@@ -55,7 +55,7 @@ export async function POST(
task: string; task: string;
}; };
if (!appName || !appPath || !task?.trim()) { if (!appName || appPath === undefined || !task?.trim()) {
return NextResponse.json({ error: "appName, appPath and task are required" }, { status: 400 }); return NextResponse.json({ error: "appName, appPath and task are required" }, { status: 400 });
} }