From ed76e1bf2087595a552f155df4db1e4ea31283d9 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Tue, 4 Jun 2024 20:27:02 +0200 Subject: [PATCH] remove unused fn --- src/client.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/client.rs b/src/client.rs index 3f1d504..ecfb2b2 100644 --- a/src/client.rs +++ b/src/client.rs @@ -189,12 +189,6 @@ impl UploaderClient { video.update(&self.db).await?; Ok(()) } - async fn add_video_to_playlist(&self, video: &VideosModel, playlist_id: String) -> Result<()> { - let mut video = video.clone().into_active_model(); - video.youtube_playlist_id = ActiveValue::Set(Some(playlist_id)); - video.update(&self.db).await?; - Ok(()) - } #[tracing::instrument(skip(self, video))] async fn set_video_status_on_db(&self, video: &VideosModel, status: Status) -> Result<()> {