diff --git a/crypto-ffi/src/wasm.rs b/crypto-ffi/src/wasm.rs index e4363b88c3..10d53815e7 100644 --- a/crypto-ffi/src/wasm.rs +++ b/crypto-ffi/src/wasm.rs @@ -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(