Deploy API fix

This commit is contained in:
2025-12-30 14:56:24 +01:00
parent a0e04f7fbe
commit e14c801d07
+1 -1
View File
@@ -33,7 +33,7 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
);
}
if ((!name && !repo) || !nodeId) {
if (!name || !repo || !nodeId) {
return NextResponse.json(
{ message: "Body missing name, repo, nodeId" },
{ status: StatusCodes.BAD_REQUEST }