fix broken transaction

This commit is contained in:
Brandon Thomas committed 2025-08-28 22:05:45 -04:00
1 parent 2286d663ac
commit 7557e586ba
1 file changed
+8
@@ -228,6 +228,14 @@ pub async fn generate_kling_2_1_master_video_handler(
}
};
let _r = transaction
.commit()
.await
.map_err(|err| {
error!("Error committing MySQL transaction: {:?}", err);
CommonWebError::ServerError
})?;
Ok(Json(GenerateKling21MasterImageToVideoResponse {
success: true,
inference_job_token: job_token,