Skip to content

Commit

Permalink
resolved issue in list.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0calypse8 committed Oct 17, 2024
1 parent 220d3ce commit fe3f1c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/model/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ var listCmd = &cobra.Command{

models := authorizationmodel.AuthzModelList{}
authzModels := response.AuthorizationModels
for i := range len(authzModels) {
for index := range len(authzModels) {
authModel := authorizationmodel.AuthzModel{}
authModel.Set(authzModels[i])
authModel.Set(authzModels[index])
models.AuthorizationModels = append(models.AuthorizationModels, authModel.DisplayAsJSON(fields))
}

Expand Down

0 comments on commit fe3f1c8

Please sign in to comment.