[DOCS] Fix role template snippet (#63774) (#63779)

This commit is contained in:
James Rodewig 2020-10-16 08:24:29 -04:00 committed by GitHub
parent e724be5f41
commit 179c6d4014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -81,9 +81,7 @@ POST /_security/role/example3
"privileges" : [ "read" ], "privileges" : [ "read" ],
"query" : { "query" : {
"template" : { "template" : {
"source" : { "source" : "{ \"terms\": { \"group.statuses\": {{#toJson}}_user.metadata.statuses{{/toJson}} }}"
"terms" : { "group.statuses" : "{{#toJson}}_user.metadata.statuses{{/toJson}}" }
}
} }
} }
} }