diff --git a/apps/authz/src/opa/template/template.hbs b/apps/authz/src/opa/template/template.hbs index cdebead6e..055c1a2a9 100644 --- a/apps/authz/src/opa/template/template.hbs +++ b/apps/authz/src/opa/template/template.hbs @@ -1,11 +1,11 @@ package main {{#each policies}} -{{then}}[{"policyId": "{{name}}" }] = reason { + {{then}}[{"policyId": "{{name}}" }] = reason { {{#each when}} - {{#criterion this}}{{/criterion}} + {{#criterion this}}{{/criterion}} {{/each}} {{#reason this}}{{/reason}} -} + } {{/each}} \ No newline at end of file