Use correct Node initializer

This commit is contained in:
Shadowfacts 2020-02-09 20:37:43 -05:00
parent 9488c108b6
commit 3c4d07093d
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}