From d80203ae364f9c5c52c48b4651835c1367531f34 Mon Sep 17 00:00:00 2001 From: Ariel Gentile Date: Wed, 1 Oct 2025 17:50:36 -0300 Subject: [PATCH] fix(react-native): function prototype Signed-off-by: Ariel Gentile --- packages/askar-react-native/cpp/askar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/askar-react-native/cpp/askar.cpp b/packages/askar-react-native/cpp/askar.cpp index 6b6cf20..4b24e74 100644 --- a/packages/askar-react-native/cpp/askar.cpp +++ b/packages/askar-react-native/cpp/askar.cpp @@ -314,7 +314,7 @@ jsi::Value storeCopyProfile(jsi::Runtime &rt, jsi::Object options) { state->rt = &rt; ErrorCode code = askar_store_copy_profile( - fromHandle, toHandle, fromProfile.c_str(), toProfile.c_str(), callbackWithResponse, CallbackId(state)); + fromHandle, toHandle, fromProfile.c_str(), toProfile.c_str(), callback, CallbackId(state)); return createReturnValue(rt, code, nullptr); }