Skip to content

Commit

Permalink
Merge pull request #424 from authzed/422-formatting-fix
Browse files Browse the repository at this point in the history
Fix print order of relation
  • Loading branch information
tstirrat15 authored Sep 20, 2024
2 parents 3837e8f + 4895dfe commit db39191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/permission.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func checkBulkCmdFunc(cmd *cobra.Command, args []string) error {

for _, item := range resp.Pairs {
console.Printf("%s:%s#%s@%s:%s => ",
item.Request.Resource.ObjectType, item.Request.Resource.ObjectId, item.Request.Permission, item.Request.Subject.Object.ObjectId, item.Request.Subject.Object.ObjectType)
item.Request.Resource.ObjectType, item.Request.Resource.ObjectId, item.Request.Permission, item.Request.Subject.Object.ObjectType, item.Request.Subject.Object.ObjectId)

switch responseType := item.Response.(type) {
case *v1.CheckBulkPermissionsPair_Item:
Expand Down

0 comments on commit db39191

Please sign in to comment.