Use correct Node initializer
This commit is contained in:
parent
9488c108b6
commit
3c4d07093d
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue