summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-08-23 14:22:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-08-23 14:22:58 +0300
commit4149de1811ba25b05be7dde30d9cc0dca5607ff7 (patch)
tree0788ed883ff4c540edd0f8dd702c49f9b401285d /plugins
parent6b5eee23bee83dac706dcfcbc72e5cce3a89e4c8 (diff)
JSON import: fix for a field name
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Import/src/textjson.cpp2
1 files changed, 1 insertions, 1 deletions
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();