Skip to content

Commit

Permalink
feat: add revoke reason to revoke notification variables (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsushmith authored Dec 7, 2023
1 parent 16b3000 commit bf6a692
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/grant/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ func (s *Service) Revoke(ctx context.Context, id, actor, reason string, opts ...
"account_type": grant.AccountType,
"account_id": grant.AccountID,
"requestor": grant.Owner,
"revoke_reason": grant.RevokeReason,
},
},
}}); errs != nil {
Expand Down
1 change: 1 addition & 0 deletions core/grant/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ func (s *ServiceTestSuite) TestRevoke() {
"account_type": expectedGrantDetails.AccountType,
"account_id": expectedGrantDetails.AccountID,
"requestor": expectedGrantDetails.Owner,
"revoke_reason": reason,
},
},
}}).
Expand Down

0 comments on commit bf6a692

Please sign in to comment.