Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jun 26, 2023
1 parent bb05e3c commit ef18a07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/core/src/method_handler/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ pub(crate) async fn call_client_method_internal(client: &Client, method: ClientM
ClientMethod::GetBlockRaw { block_id } => Response::BlockRaw(client.get_block_raw(&block_id).await?),
ClientMethod::GetOutput { output_id } => Response::OutputWithMetadataResponse(
client
.get_output(&output_id)
.get_output_with_metadata(&output_id)
.await
.map(OutputWithMetadataResponse::from)?,
),
Expand Down Expand Up @@ -329,7 +329,7 @@ pub(crate) async fn call_client_method_internal(client: &Client, method: ClientM
ClientMethod::FoundryOutputId { foundry_id } => Response::OutputId(client.foundry_output_id(foundry_id).await?),
ClientMethod::GetOutputs { output_ids } => {
let outputs_response = client
.get_outputs(&output_ids)
.get_outputs_with_metadata(&output_ids)
.await?
.iter()
.map(OutputWithMetadataResponse::from)
Expand All @@ -338,7 +338,7 @@ pub(crate) async fn call_client_method_internal(client: &Client, method: ClientM
}
ClientMethod::GetOutputsIgnoreErrors { output_ids } => {
let outputs_response = client
.get_outputs_ignore_errors(&output_ids)
.get_outputs_with_metadata_ignore_errors(&output_ids)
.await?
.iter()
.map(OutputWithMetadataResponse::from)
Expand Down

0 comments on commit ef18a07

Please sign in to comment.