fix(camera): Mettre à jour le statut du projet en 'idle' lors de l'arrêt de la caméra
All checks were successful
SSH Backend Deploy / ssh-deploy (push) Successful in 9s

This commit is contained in:
2025-04-27 11:36:15 +02:00
parent 98bb822673
commit 2533eacf5e

View File

@@ -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.');