diff --git a/MongoView/View Controllers/QueryViewController.swift b/MongoView/View Controllers/QueryViewController.swift index 2d0c649..fac90ce 100644 --- a/MongoView/View Controllers/QueryViewController.swift +++ b/MongoView/View Controllers/QueryViewController.swift @@ -85,7 +85,7 @@ class QueryViewController: NSViewController { let connStr = "\(mongoController.connectionString)/\(collection.database)" rootNodes = MongoEvaluator.eval(command: query, connectingTo: connStr).map { - Node(document: $0) + Node(value: $0) } outlineView.reloadData() }