Skip to content

Commit b951eda

Browse files
authored
fix return type (#535)
1 parent ab058a1 commit b951eda

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/bcr-ebill-wasm/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ let config = {
5353
job_runner_initial_delay_seconds: 1,
5454
job_runner_check_interval_seconds: 600,
5555
default_mint_url: "http://localhost:4343",
56-
default_mint_node_id: "039180c169e5f6d7c579cf1cefa37bffd47a2b389c8125601f4068c87bea795943",
56+
// default_mint_url: "https://wildcat-dev-docker.minibill.tech",
57+
default_mint_node_id: "02b7102bd5a4a572298f2aa485e86e490881e9ad7906fcae741db141b8ba1e8acc",
5758
};
5859

5960
async function start() {

crates/bcr-ebill-wasm/src/api/bill.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ impl Bill {
603603
Ok(())
604604
}
605605

606-
#[wasm_bindgen(unchecked_return_type = "MintRequestStateWeb")]
606+
#[wasm_bindgen(unchecked_return_type = "MintRequestStateResponse")]
607607
pub async fn mint_state(&self, id: &str) -> Result<JsValue> {
608608
let result = get_ctx()
609609
.bill_service

0 commit comments

Comments
 (0)