Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit e8bef71

Browse files
committed
fix: incorrect naming for set_allow_policy
1 parent 397d8a8 commit e8bef71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl PeerClaims {
147147
}
148148
}
149149
#[wasm_bindgen(js_name = "setAllowPolicy")]
150-
pub fn set_allow(&mut self, claims: &PeerPolicy) {
150+
pub fn set_allow_policy(&mut self, claims: &PeerPolicy) {
151151
self.allow_policy = Some(claims.clone());
152152
}
153153
}

0 commit comments

Comments
 (0)