about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/storage/video_database/setters.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/video_database/setters.rs b/src/storage/video_database/setters.rs
index e2b38e6..76a36a7 100644
--- a/src/storage/video_database/setters.rs
+++ b/src/storage/video_database/setters.rs
@@ -131,7 +131,7 @@ pub async fn set_video_watched(app: &App, video: &Video) -> Result<()> {
     .await?;
 
     if old.status == new_status {
-        return Ok(());
+        unreachable!("The video should not be marked as watched already.")
     }
 
     let now = Utc::now().timestamp();