diff --git a/example/cacheSet/1.0/policy.rego b/example/cacheSet/1.0/policy.rego index 44e620d39eb9b6f73283fc3925c0998620934688..08e353d2629b173cc0e4624a0428de19b417ec84 100644 --- a/example/cacheSet/1.0/policy.rego +++ b/example/cacheSet/1.0/policy.rego @@ -3,6 +3,6 @@ package example.cacheSet default success = false success = true { - msg := cache.set("mykey", "mynamespace", "myscope", input) + msg := cache.set(data.key, "mynamespace", data.scope, input) msg == "success" -} +} \ No newline at end of file