From f64966fe31b724e77ac0aea3f3acd194d3fd2a47 Mon Sep 17 00:00:00 2001 From: Patch Goblin Date: Thu, 10 Sep 2026 14:10:23 +0000 Subject: [PATCH] Preserve exhaustive matching for API file conversion fields --- src/cmd_api_call.rs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/cmd_api_call.rs b/src/cmd_api_call.rs index b0174d6a..310a52e1 100644 --- a/src/cmd_api_call.rs +++ b/src/cmd_api_call.rs @@ -53,7 +53,21 @@ impl crate::cmd::Command for CmdApiCallStatus { // If it is a file conversion and there is output, we need to save that output to a file // for them. - if let kittycad::types::AsyncApiCallOutput::FileConversion { outputs, status, .. } = &mut api_call + if let kittycad::types::AsyncApiCallOutput::FileConversion { + completed_at: _, + created_at: _, + error: _, + id: _, + output_format: _, + output_format_options: _, + outputs, + src_format: _, + src_format_options: _, + started_at: _, + status, + updated_at: _, + user_id: _, + } = &mut api_call && *status == kittycad::types::ApiCallStatus::Completed && let Some(files) = outputs {