From e0546cc54046b5d23bd01c4df5711f207d06b4f5 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Sat, 20 Apr 2024 18:32:00 +0200 Subject: [PATCH] change path to be id not video_id --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index de137bf..cda96ad 100644 --- a/src/client.rs +++ b/src/client.rs @@ -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?;