remove unused fn

This commit is contained in:
OMGeeky
2024-06-04 20:27:02 +02:00
parent 1835077dcc
commit ed76e1bf20

View File

@@ -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<()> {