Skip to content

Commit 1233a7f

Browse files
authored
Update writing-functions.md: adding missing close square bracket (#331)
there is a bracket missing in multiple flow context set call
1 parent de93235 commit 1233a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user-guide/writing-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ flow.get(["count", "colour"], function(err, count, colour) { ... })
337337
flow.set("count", 123, function(err) { ... })
338338

339339
// Set multiple values
340-
flow.set(["count", "colour", [123, "red"], function(err) { ... })
340+
flow.set(["count", "colour"], [123, "red"], function(err) { ... })
341341
{% endhighlight %}
342342

343343
The first argument passed to the callback, `err`, is only set if an error

0 commit comments

Comments
 (0)