From 5ba6a3e2260c9c8c1a00a62a88845ff450006644 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 26 Nov 2025 22:56:54 -0500 Subject: [PATCH] rename field --- .../functional_events/object_generation_complete_event.rs | 2 +- .../threads/events/maybe_handle_frontend_caller_notification.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/desktop/artcraft/src/core/events/functional_events/object_generation_complete_event.rs b/crates/desktop/artcraft/src/core/events/functional_events/object_generation_complete_event.rs index 990495270e..43b2311886 100644 --- a/crates/desktop/artcraft/src/core/events/functional_events/object_generation_complete_event.rs +++ b/crates/desktop/artcraft/src/core/events/functional_events/object_generation_complete_event.rs @@ -7,7 +7,7 @@ use url::Url; #[derive(Clone, Debug, Serialize)] #[serde(rename_all = "snake_case")] pub struct ObjectGenerationCompleteEvent { - pub generated_video: Option, + pub generated_object: Option, pub maybe_frontend_subscriber_id: Option, pub maybe_frontend_subscriber_payload: Option, } diff --git a/crates/desktop/artcraft/src/services/storyteller/threads/events/maybe_handle_frontend_caller_notification.rs b/crates/desktop/artcraft/src/services/storyteller/threads/events/maybe_handle_frontend_caller_notification.rs index 3798f6b686..2484f32e1b 100644 --- a/crates/desktop/artcraft/src/services/storyteller/threads/events/maybe_handle_frontend_caller_notification.rs +++ b/crates/desktop/artcraft/src/services/storyteller/threads/events/maybe_handle_frontend_caller_notification.rs @@ -210,7 +210,7 @@ async fn handle_object_generation( // NB: For now, we only generate one object (3d mesh) at a time. let event = ObjectGenerationCompleteEvent { - generated_video: Some(GeneratedObject { + generated_object: Some(GeneratedObject { media_token: MediaFileToken::new_from_str(&job_result.entity_token), cdn_url: job_result.media_links.cdn_url.clone(), maybe_thumbnail_template: media_links_to_thumbnail_template(&job_result.media_links)