fix: 修复 video path 未正确设置问题
This commit is contained in:
@@ -99,7 +99,7 @@ pub async fn update_videos_model(videos: Vec<video::ActiveModel>, connection: &D
|
||||
video::Entity::insert_many(videos)
|
||||
.on_conflict(
|
||||
OnConflict::column(video::Column::Id)
|
||||
.update_column(video::Column::DownloadStatus)
|
||||
.update_columns([video::Column::DownloadStatus, video::Column::Path])
|
||||
.to_owned(),
|
||||
)
|
||||
.exec(connection)
|
||||
|
||||
Reference in New Issue
Block a user