Merge pull request #45 from courteouselk/master

Fix makeNode method to reflect its implementation higher in the text
This commit is contained in:
Tanner 2016-09-27 10:52:50 -04:00 committed by GitHub
commit 5247fdd4ce
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ final class User: Model {
name = try node.extract("name")
}
func makeNode() throws -> Node {
func makeNode(context: Context) throws -> Node {
return try Node(node: [
"id": id,
"name": name