From 3c4d07093da94bba71a37a88afc863204ea09e8f Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 9 Feb 2020 20:37:43 -0500 Subject: [PATCH] Use correct Node initializer --- MongoView/View Controllers/QueryViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }