From 331636b5a594d5131d2e281c82d7bab45e1d87d0 Mon Sep 17 00:00:00 2001 From: ospfranco Date: Wed, 3 Jul 2024 22:38:25 +0200 Subject: [PATCH] Fix reactive query argument binding --- cpp/DBHostObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/DBHostObject.cpp b/cpp/DBHostObject.cpp index 0774a7af..71be22a6 100644 --- a/cpp/DBHostObject.cpp +++ b/cpp/DBHostObject.cpp @@ -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);