Skip to content

Commit

Permalink
fix: err
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 committed Feb 18, 2025
1 parent 5707210 commit cb20a95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/restapi/v1/issuer/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,9 @@ func (c *Controller) InitiateCredentialIssuance(e echo.Context, profileID, profi
issuanceReq.CredentialConfiguration = append(issuanceReq.CredentialConfiguration, credConfig)
}

resp, ct, err := c.initiateIssuance(ctx, issuanceReq, profile)
if err != nil {
return err
resp, ct, initiateErr := c.initiateIssuance(ctx, issuanceReq, profile)
if initiateErr != nil {
return initiateErr
}

return util.WriteOutputWithContentType(e)(resp, ct, nil)
Expand Down

0 comments on commit cb20a95

Please sign in to comment.