Skip to content

Commit

Permalink
Fix #12:Update dataAttributeValues default value as array, credential…
Browse files Browse the repository at this point in the history
… and disclosureMapping default value as object
  • Loading branch information
albinpa authored and georgepadayatti committed Apr 30, 2024
1 parent f0f6ddc commit a1460f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eudi_wallet/ebsi/models/v2/issue_credential_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class IssueCredentialRecordModel(Base):
nullable=False,
)

dataAttributeValues = Column(JSON, nullable=True, default="{}")
credential = Column(JSON, nullable=True, default="{}")
disclosureMapping = Column(JSON, nullable=True, default="{}")
dataAttributeValues = Column(JSON, nullable=True, default=[])
credential = Column(JSON, nullable=True, default={})
disclosureMapping = Column(JSON, nullable=True, default={})

issuanceMode = Column(String, nullable=False)
isPreAuthorised = Column(Boolean, default=False)
Expand Down

0 comments on commit a1460f1

Please sign in to comment.