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

This commit is contained in:
2026-05-29 19:23:06 -07:00
parent 3cb079f6e4
commit 775c42e2fa

View File

@@ -55,7 +55,7 @@ export async function POST(
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 });
}