Skip to content

Commit

Permalink
Passing revocation reason down to the store.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew morgan authored and andrew morgan committed Apr 18, 2024
1 parent 35168c2 commit 32c8fef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public async Task Revoke(KeyMaterial securityKeyWithPrivate, string reason = nul
if (securityKeyWithPrivate == null)
return;

securityKeyWithPrivate.Revoke();
securityKeyWithPrivate.Revoke(reason);
_context.Attach(securityKeyWithPrivate);
_context.SecurityKeys.Update(securityKeyWithPrivate);
await _context.SaveChangesAsync();
Expand Down

0 comments on commit 32c8fef

Please sign in to comment.