mirror of
https://github.com/OMGeeky/twba.uploader.git
synced 2025-12-26 16:37:23 +01:00
remove unused fn
This commit is contained in:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user