change path to be id not video_id

This commit is contained in:
OMGeeky
2024-04-20 18:32:00 +02:00
parent 0f8949f8bf
commit e0546cc540

View File

@@ -29,7 +29,7 @@ impl SplitterClient {
#[tracing::instrument(skip(self))]
async fn split_video(&self, video: VideosModel) -> Result<()> {
//
let id = video.twitch_id.clone();
let id = video.id.to_string();
let mut video = video.into_active_model();
video.status = ActiveValue::Set(Status::Splitting);
video.clone().update(&self.db).await?;