From 4149de1811ba25b05be7dde30d9cc0dca5607ff7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Aug 2018 14:22:58 +0300 Subject: JSON import: fix for a field name --- plugins/Import/src/textjson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Import/src/textjson.cpp b/plugins/Import/src/textjson.cpp index de9a1755b1..0102e433b6 100644 --- a/plugins/Import/src/textjson.cpp +++ b/plugins/Import/src/textjson.cpp @@ -104,7 +104,7 @@ public: if (node == nullptr) return 0; - dbei->eventType = (*node)["eventType"].as_int(); + dbei->eventType = (*node)["type"].as_int(); dbei->timestamp = 0; std::string szTime = (*node)["time"].as_string(); -- cgit v1.2.3