Skip to content

Commit

Permalink
Digital Twin Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ashbeitz committed May 6, 2024
1 parent f502fac commit 40293c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/module/digital_twin_graph/src/digital_twin_graph_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl DigitalTwinGraphImpl {
client.find_by_model_id(request).await.map_err(|error| error.to_string())
})
.await
.map_err(|error| tonic::Status::internal(error))?
.map_err(tonic::Status::internal)?
.into_inner();

Ok(response
Expand Down Expand Up @@ -144,7 +144,7 @@ impl DigitalTwinGraphImpl {
client.find_by_instance_id(request).await.map_err(|error| error.to_string())
})
.await
.map_err(|error| tonic::Status::internal(error))?
.map_err(tonic::Status::internal)?
.into_inner();

Ok(response
Expand Down

0 comments on commit 40293c0

Please sign in to comment.