Skip to content

Commit

Permalink
fix: fix typo in parseVerifyCredOpaque
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbrm committed Sep 11, 2024
1 parent 1d2544d commit 1f4e06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/skus/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ func parseVerifyCredRequestV2(raw []byte) (*model.VerifyCredentialRequestV2, err
return nil, err
}

copaque, err := parseVerifyCredeOpaque(result.Credential)
copaque, err := parseVerifyCredOpaque(result.Credential)
if err != nil {
return nil, err
}
Expand All @@ -1686,7 +1686,7 @@ func parseVerifyCredRequestV2(raw []byte) (*model.VerifyCredentialRequestV2, err
return result, nil
}

func parseVerifyCredeOpaque(raw string) (*model.VerifyCredentialOpaque, error) {
func parseVerifyCredOpaque(raw string) (*model.VerifyCredentialOpaque, error) {
data, err := base64.StdEncoding.DecodeString(raw)
if err != nil {
return nil, err
Expand Down

0 comments on commit 1f4e06f

Please sign in to comment.