Skip to content

Commit a8ff1e2

Browse files
committed
Fix hasAnyRole doc
close #1199
1 parent 92771e1 commit a8ff1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/definitions/expression-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Checks whether the logged in user has at least one of the given roles.
242242

243243
Example:
244244
```yaml
245-
@=hasAnyRole('ROLE_API', 'ROLE_ADMIN')
245+
@=hasAnyRole(['ROLE_API', 'ROLE_ADMIN'])
246246
```
247247

248248
---

0 commit comments

Comments
 (0)