Skip to content

Commit 9732deb

Browse files
committed
Use correct identifier for access grant revocation
1 parent e778223 commit 9732deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

access-grant/src/main/java/com/inrupt/client/accessgrant/AccessGrantClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public CompletionStage<Void> revoke(final AccessGrant accessGrant) {
298298
credentialStatus.put("status", Integer.toString(status.getIndex()));
299299

300300
final Map<String, Object> data = new HashMap<>();
301-
data.put("credentialId", status.getIdentifier());
301+
data.put("credentialId", accessGrant.getIdentifier());
302302
data.put("credentialStatus", Arrays.asList(credentialStatus));
303303

304304
final Request req = Request.newBuilder(metadata.statusEndpoint)

0 commit comments

Comments
 (0)