Skip to content

Commit

Permalink
Added a possible missing return statement for handling errors in auth…
Browse files Browse the repository at this point in the history
…Claim.GetCredentialStatus(). (#641)
  • Loading branch information
yushihang authored Jun 4, 2024
1 parent 73f24d0 commit 2b9007c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/services/claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ func (c *claim) CreateCredential(ctx context.Context, req *ports.CreateClaimRequ
authCs, err := authClaim.GetCredentialStatus()
if err != nil {
log.Error(ctx, "cannot get the auth claim credential status", "err", err)
return nil, err
}

proof.IssuerData.CredentialStatus = authCs
Expand Down

0 comments on commit 2b9007c

Please sign in to comment.