Skip to content

Commit 4766fa0

Browse files
authored
Remove ticks in chain input documentation (#38109)
The ticks created a literal string instead of actually accessing the payload value.
1 parent 418dede commit 4766fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/docs/en/watcher/input/chain.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ still be available in its original form in `ctx.payload.first`.
7272
{
7373
"second" : {
7474
"transform" : {
75-
"script" : "return [ 'path' : 'ctx.payload.first.path' + '/' ]"
75+
"script" : "return [ 'path' : ctx.payload.first.path + '/' ]"
7676
}
7777
}
7878
},

0 commit comments

Comments
 (0)