diff --git a/uzi_vc_validator/ura_validator.go b/uzi_vc_validator/ura_validator.go index a7b4bf5..dc140a8 100644 --- a/uzi_vc_validator/ura_validator.go +++ b/uzi_vc_validator/ura_validator.go @@ -34,7 +34,7 @@ type JwtHeaderValues struct { func (u UraValidatorImpl) Validate(jwtString string) error { credential := &vc.VerifiableCredential{} - err := json.Unmarshal([]byte("\""+jwtString+"\""), credential) + err := json.Unmarshal([]byte(fmt.Sprintf("\"%s\"", jwtString)), credential) if err != nil { return err }