Browse Source

Use correct Node initializer

master
Shadowfacts 4 months ago
parent
commit
3c4d07093d
Signed by: Shadowfacts <me@shadowfacts.net> GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      MongoView/View Controllers/QueryViewController.swift

+ 1
- 1
MongoView/View Controllers/QueryViewController.swift View File

@@ -85,7 +85,7 @@ class QueryViewController: NSViewController {
85 85
         let connStr = "\(mongoController.connectionString)/\(collection.database)"
86 86
 
87 87
         rootNodes = MongoEvaluator.eval(command: query, connectingTo: connStr).map {
88
-            Node(document: $0)
88
+            Node(value: $0)
89 89
         }
90 90
         outlineView.reloadData()
91 91
     }

Loading…
Cancel
Save