Skip to content

Commit 911d60d

Browse files
committed
Clarify which parts of updateCredential example are query vs. update
1 parent 02f230c commit 911d60d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ Most importantly, you should update the signature counter. That might look somet
387387
[source,java]
388388
----------
389389
updateCredential( // Some database access method of your own design
390-
"alice", // Username or other appropriate user identifier
391-
result.getCredentialId(), // Credential ID of the credential used
392-
result.signatureCount(), // New signature counter value
393-
Clock.systemUTC().instant() // Time of last use (now)
390+
"alice", // Query by username or other appropriate user identifier
391+
result.getCredentialId(), // Query by credential ID of the credential used
392+
result.signatureCount(), // Set new signature counter value
393+
Clock.systemUTC().instant() // Set time of last use (now)
394394
);
395395
----------
396396

0 commit comments

Comments
 (0)