diff options
Diffstat (limited to 'server/src/luaquerymapper.cc')
-rw-r--r-- | server/src/luaquerymapper.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/luaquerymapper.cc b/server/src/luaquerymapper.cc index af6074d..a09333b 100644 --- a/server/src/luaquerymapper.cc +++ b/server/src/luaquerymapper.cc @@ -115,8 +115,9 @@ int main() QueryHandler qh(&s, "2003791613"); - Query q1("lensmeter", "lensmeter"); - qh.addQuery(q1); + Query q1; + q1.attributes["device_id"] = "lensmeter"; + q1.attributes["device_type"] = "lensmeter"; std::string res = qh.exec(); |