diff --git a/src/api/checkin_api.rs b/src/api/checkin_api.rs index a6b3ad95..2a4c46bf 100644 --- a/src/api/checkin_api.rs +++ b/src/api/checkin_api.rs @@ -40,11 +40,11 @@ async fn checkin_handler( Ok(result) => { if let Err(e) = state .db - .update_video_status(&file_uuid, VideoStatus::Indexed) + .update_video_status(&file_uuid, VideoStatus::Completed) .await { tracing::warn!( - "Failed to update video status to Indexed for {}: {}", + "Failed to update video status to Completed for {}: {}", file_uuid, e ); @@ -54,7 +54,7 @@ async fn checkin_handler( pre_chunks_moved: result.pre_chunks_moved, speaker_detections_moved: result.speaker_detections_moved, vectors_moved: result.vectors_moved, - status: "indexed".to_string(), + status: "completed".to_string(), })) } Err(e) => Err(( @@ -75,11 +75,11 @@ async fn checkout_handler( Ok(result) => { if let Err(e) = state .db - .update_video_status(&file_uuid, VideoStatus::CheckedOut) + .update_video_status(&file_uuid, VideoStatus::Completed) .await { tracing::warn!( - "Failed to update video status to CheckedOut for {}: {}", + "Failed to update video status to Completed for {}: {}", file_uuid, e );