Skip to content

Commit

Permalink
Merge pull request #427 from Leautp/fix/refresh-claim-id
Browse files Browse the repository at this point in the history
Refresh credential use-case not deleting old claim (== -> !=)
  • Loading branch information
5eeman authored Aug 20, 2024
2 parents d83e15a + 7baa4a6 commit 373d73c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class RefreshCredentialUseCase
profileDid: param.credential.did,
);

if (claimEntity.id == param.credential.id) {
if (claimEntity.id != param.credential.id) {
await _removeClaimsUseCase.execute(
param: RemoveClaimsParam(
claimIds: [param.credential.id],
Expand Down

0 comments on commit 373d73c

Please sign in to comment.