From e14c801d07e310739b048e983e6bc504e50062b9 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Tue, 30 Dec 2025 14:56:24 +0100 Subject: [PATCH] Deploy API fix --- src/app/api/applications/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/applications/route.ts b/src/app/api/applications/route.ts index e72fd43..c7e0e6a 100644 --- a/src/app/api/applications/route.ts +++ b/src/app/api/applications/route.ts @@ -33,7 +33,7 @@ export async function POST(req: NextRequest): Promise { ); } - if ((!name && !repo) || !nodeId) { + if (!name || !repo || !nodeId) { return NextResponse.json( { message: "Body missing name, repo, nodeId" }, { status: StatusCodes.BAD_REQUEST }