Skip to content

Commit

Permalink
[DOCS] Fix role template snippet (elastic#63774) (elastic#63778)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Oct 16, 2020
1 parent 68d8b97 commit 4515ee8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ POST /_security/role/example3
"privileges" : [ "read" ],
"query" : {
"template" : {
"source" : {
"terms" : { "group.statuses" : "{{#toJson}}_user.metadata.statuses{{/toJson}}" }
}
"source" : "{ \"terms\": { \"group.statuses\": {{#toJson}}_user.metadata.statuses{{/toJson}} }}"
}
}
}
Expand Down

0 comments on commit 4515ee8

Please sign in to comment.