Skip to content

Commit

Permalink
fix: transform for conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Oct 25, 2023
1 parent 347abbf commit 978cd46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/authorizationmodel/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ func (model *AuthzModel) DisplayAsJSON(fields []string) AuthzModel {
if slices.Contains(fields, "model") {
newModel.SchemaVersion = model.SchemaVersion
newModel.TypeDefinitions = model.TypeDefinitions
newModel.Conditions = model.Conditions
}

return newModel
Expand Down

0 comments on commit 978cd46

Please sign in to comment.