Skip to content

Commit

Permalink
fix: null pointer in Javascript when calling 'new_oidc_challenge_resp…
Browse files Browse the repository at this point in the history
…onse'
  • Loading branch information
beltram committed Jan 8, 2024
1 parent be4edd4 commit 806ce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto-ffi/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ impl E2eiEnrollment {
}

/// See [core_crypto::e2e_identity::WireE2eIdentity::new_oidc_challenge_response]
pub fn new_oidc_challenge_response(&mut self, cc: CoreCrypto, challenge: Uint8Array) -> Promise {
pub fn new_oidc_challenge_response(&mut self, cc: &CoreCrypto, challenge: Uint8Array) -> Promise {
let cc = cc.inner.clone();
let this = self.0.clone();
future_to_promise(
Expand Down

0 comments on commit 806ce08

Please sign in to comment.