Skip to content

Commit 529c900

Browse files
authored
fix(react-native): function prototype (#65)
Signed-off-by: Ariel Gentile <gentilester@gmail.com>
1 parent fb090da commit 529c900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/askar-react-native/cpp/askar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ jsi::Value storeCopyProfile(jsi::Runtime &rt, jsi::Object options) {
314314
state->rt = &rt;
315315

316316
ErrorCode code = askar_store_copy_profile(
317-
fromHandle, toHandle, fromProfile.c_str(), toProfile.c_str(), callbackWithResponse, CallbackId(state));
317+
fromHandle, toHandle, fromProfile.c_str(), toProfile.c_str(), callback, CallbackId(state));
318318

319319
return createReturnValue(rt, code, nullptr);
320320
}

0 commit comments

Comments
 (0)