fix: use wrong parsed command body

This commit is contained in:
Justin Lin committed 2025-04-26 18:43:43 +08:00
1 parent 128aae33ec
commit aeed963a75
2 files changed
+3 -3

No files matched your search

@@ -45,10 +45,10 @@ export const newCommand = asyncHandler(async (req: Request, res: Response) => {
new CLIFileExistenceChecker(session.containerId!)
)
const event = await gameSession.runCommand(body)
const event = await gameSession.runCommand(command)
const c = new Command({
...body,
...command,
session: sessionId,
stage: event,
})