Fix makeNode method to reflect its implementation higher in the text

It makes the source to compile on top of that
This commit is contained in:
Anton Bronnikov 2016-09-27 16:04:44 +02:00
parent 648cff81cc
commit cceecb65ad
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