Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jul 11, 2024
1 parent 3414a0d commit 0278c85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http = "0.2.6"
itertools = "0.12.1"
kcl-lib = "0.1.71"
kcl-test-server = "0.1.2"
kittycad = { version = "0.3.5", features = ["clap", "tabled", "requests", "retry"] }
kittycad = { version = "0.3.8", features = ["clap", "tabled", "requests", "retry"] }
log = "0.4.22"
nu-ansi-term = "0.50.0"
num-traits = "0.2.19"
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_api_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl crate::cmd::Command for CmdApiCallStatus {
async fn run(&self, ctx: &mut crate::context::Context) -> Result<()> {
let client = ctx.api_client("")?;

let api_call = client.api_calls().get_async_operation(&self.id.to_string()).await?;
let api_call = client.api_calls().get_async_operation(self.id).await?;

// If it is a file conversion and there is output, we need to save that output to a file
// for them.
Expand Down
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl Context<'_> {
&& start.elapsed().as_secs() < 60 * 5
{
// Poll for the status.
let result = client.api_calls().get_async_operation(&model.id.to_string()).await?;
let result = client.api_calls().get_async_operation(model.id).await?;

if let kittycad::types::AsyncApiCallOutput::TextToCad {
completed_at,
Expand Down

0 comments on commit 0278c85

Please sign in to comment.