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)