diff --git a/src/api/handlers/provisionGame.js b/src/api/handlers/provisionGame.js index b2b1de1..4303561 100644 --- a/src/api/handlers/provisionGame.js +++ b/src/api/handlers/provisionGame.js @@ -1,4 +1,4 @@ -// src/api/provisionGame.js +// src/api/handlers/provisionGame.js // GAME-SIDE request normalization + validation (no payload changes yet) export function normalizeGameRequest(body = {}) { @@ -42,7 +42,7 @@ export function normalizeGameRequest(body = {}) { cpuCores, memoryMiB, diskGiB, - portsNeeded, + portsNeeded: portsNeeded || 1, // Default to 1 port for game containers artifactPath, javaPath,