Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Neal Roessler committed Oct 18, 2022
1 parent f5e9c55 commit c704f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions credential/manifest/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ func IsValidCredentialApplicationForManifest(cm CredentialManifest, ca Credentia
return errors.Wrap(err, "vc is not valid")
}

vcMap := make(map[string]interface)
vcMap := make(map[string]interface{})
credJSON, err := json.Marshal(cred)
if err != nil {
return errors.Wrap(err, "problem in marshalling credential")
}

if err := json.Unmarshal(credJson, &vcMap); err != nil {
if err := json.Unmarshal(credJSON, &vcMap); err != nil {
return errors.Wrap(err, "problem in unmarshalling credential")
}

Expand Down

0 comments on commit c704f5b

Please sign in to comment.