Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:holochain/holochain-client-rust …
Browse files Browse the repository at this point in the history
…into feat/add-memproof-call
  • Loading branch information
jost-s committed Jun 11, 2024
2 parents f4ceec3 + c97b754 commit 76b6a1b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app_websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use anyhow::{anyhow, Result};
use holo_hash::AgentPubKey;
use holochain_conductor_api::{
AppAuthenticationToken, AppInfo, AppRequest, AppResponse, CellInfo, NetworkInfo,
ProvisionedCell,
ProvisionedCell, ZomeCall,
};
use holochain_nonce::fresh_nonce;
use holochain_types::app::{
Expand Down Expand Up @@ -144,7 +144,11 @@ impl AppWebsocket {
.await
.map_err(|e| ConductorApiError::SignZomeCallError(e.to_string()))?;

let app_request = AppRequest::CallZome(Box::new(signed_zome_call));
self.signed_call_zome(signed_zome_call).await
}

pub async fn signed_call_zome(&self, call: ZomeCall) -> ConductorApiResult<ExternIO> {
let app_request = AppRequest::CallZome(Box::new(call));
let response = self.inner.send(app_request).await?;

match response {
Expand Down

0 comments on commit 76b6a1b

Please sign in to comment.