From 2533eacf5e36899734b7d30f5ead7fe14bba5502 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Sun, 27 Apr 2025 11:36:15 +0200 Subject: [PATCH] =?UTF-8?q?fix(camera):=20Mettre=20=C3=A0=20jour=20le=20st?= =?UTF-8?q?atut=20du=20projet=20en=20'idle'=20lors=20de=20l'arr=C3=AAt=20d?= =?UTF-8?q?e=20la=20cam=C3=A9ra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/cameraController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/cameraController.js b/src/controllers/cameraController.js index d5e18f5..bb9d597 100644 --- a/src/controllers/cameraController.js +++ b/src/controllers/cameraController.js @@ -104,7 +104,7 @@ class CameraController { const currentProject = await Project.findCurrentRenderingProject(); if (currentProject) { - await Project.updateProject(currentProject.id, { status: config.status.waiting }); + await Project.updateProject(currentProject.id, { status: config.projectStatus.idle}); console.log(`[CAMERA] Projet : ${currentProject.id} arrêté.`); } else { console.log('[CAMERA] Aucun projet à arrêter.');