Skip to content

Commit ba7a4f7

Browse files
committed
fix example.rego
1 parent 3991d08 commit ba7a4f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker-compose/example-rego/example.rego

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ allow {
1717
# Allow GET /me
1818
allow {
1919
input.method == "GET"
20-
# count(input.path) = 1
21-
input.path[0] = "me"
20+
input.path == ["me"]
2221
}
2322

2423
# admin access on /api

0 commit comments

Comments
 (0)