Skip to content

Commit

Permalink
Merge pull request #119 from OP-Engineering/fix-reactive-query-args
Browse files Browse the repository at this point in the history
Fix reactive query argument binding
  • Loading branch information
ospfranco authored Jul 3, 2024
2 parents 5db78e6 + 331636b commit 4ce7d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/DBHostObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void DBHostObject::create_jsi_functions() {

const std::string query_str =
query.getProperty(rt, "query").asString(rt).utf8(rt);
auto js_args = query.getProperty(rt, "args");
auto js_args = query.getProperty(rt, "arguments");
auto js_discriminators =
query.getProperty(rt, "fireOn").asObject(rt).asArray(rt);
auto variant_args = to_variant_vec(rt, js_args);
Expand Down

0 comments on commit 4ce7d0d

Please sign in to comment.