Skip to content

Commit

Permalink
Merge pull request #389 from sklump/cred-eager-canon
Browse files Browse the repository at this point in the history
do not canonicalize attr names in cred previews: retain raw as per in…
  • Loading branch information
andrewwhitehead authored Feb 28, 2020
2 parents 530e3fd + ee08167 commit 157ad09
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from marshmallow import fields, validate

from ......messaging.models.base import BaseModel, BaseModelSchema
from ......messaging.util import canon
from ......wallet.util import b64_to_str

from ...message_types import CREDENTIAL_PREVIEW
Expand All @@ -33,7 +32,7 @@ def __init__(self, *, name: str, value: str, mime_type: str = None, **kwargs):
"""
super().__init__(**kwargs)

self.name = canon(name)
self.name = name
self.value = value
self.mime_type = mime_type.lower() if mime_type else None

Expand Down

0 comments on commit 157ad09

Please sign in to comment.