diff --git a/x-pack/docs/en/watcher/input/chain.asciidoc b/x-pack/docs/en/watcher/input/chain.asciidoc index 9952773e7227a..9898880a9a760 100644 --- a/x-pack/docs/en/watcher/input/chain.asciidoc +++ b/x-pack/docs/en/watcher/input/chain.asciidoc @@ -72,7 +72,7 @@ still be available in its original form in `ctx.payload.first`. { "second" : { "transform" : { - "script" : "return [ 'path' : 'ctx.payload.first.path' + '/' ]" + "script" : "return [ 'path' : ctx.payload.first.path + '/' ]" } } },