Skip to content

Commit

Permalink
Merge pull request #205 from mrlunin/main
Browse files Browse the repository at this point in the history
Incorrect arguments order passing in buildGetAttribRequest
  • Loading branch information
andrewwhitehead authored Aug 10, 2023
2 parents 77cb8d0 + 8f5cc46 commit 07d3188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wrappers/javascript/indy-vdr-react-native/cpp/indyVdr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ jsi::Value buildGetAttribRequest(jsi::Runtime &rt, jsi::Object options) {

ErrorCode code = indy_vdr_build_get_attrib_request(
submitterDid.length() > 0 ? submitterDid.c_str() : nullptr,
targetDid.c_str(), hash.length() > 0 ? hash.c_str() : nullptr,
targetDid.c_str(),
raw.length() > 0 ? raw.c_str() : nullptr,
hash.length() > 0 ? hash.c_str() : nullptr,
enc.length() > 0 ? enc.c_str() : nullptr, &out);

return createReturnValue(rt, code, &out);
Expand Down

0 comments on commit 07d3188

Please sign in to comment.