From 749ad90780983ff1db02cabcb749f43f917f9e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B3th=20Bal=C3=A1zs?= Date: Fri, 16 Sep 2016 11:55:06 +0200 Subject: [PATCH] NodeRepresentable makeNode needs a Context --- fluent/model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluent/model.md b/fluent/model.md index e51880d9..62e4e4c6 100644 --- a/fluent/model.md +++ b/fluent/model.md @@ -72,7 +72,7 @@ Now that we have covered initializing the model, we need to show it how to save ```swift final class User: Model { - func makeNode() throws -> Node { + func makeNode(context: Context) throws -> Node { return try Node(node: [ "id": id, "name": name