rename OrmDiff to OrmPatches in lib-wasm

refactor
Niko PLP 12 hours ago
parent c3d480a8c5
commit 694329b87d
  1. 3
      sdk/js/lib-wasm/src/lib.rs

@ -20,6 +20,7 @@ use std::str::FromStr;
use std::sync::Arc;
use nextgraph::net::app_protocol::AppRequest;
use ng_net::orm::OrmPatch;
use ng_wallet::types::SensitiveWallet;
use once_cell::sync::Lazy;
use serde::{Deserialize, Serialize};
@ -1834,7 +1835,7 @@ pub async fn orm_update(
diff: JsValue,
session_id: JsValue,
) -> Result<(), String> {
let diff: OrmDiff = serde_wasm_bindgen::from_value::<OrmDiff>(diff)
let diff: OrmPatches = serde_wasm_bindgen::from_value::<OrmPatches>(diff)
.map_err(|e| format!("Deserialization error of diff {e}"))?;
log_info!("frontend_update_orm {:?}", diff);

Loading…
Cancel
Save