Skip to content

Commit

Permalink
style: Kotlin formatting fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed Jan 20, 2025
1 parent d54a18d commit 4df776d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,17 @@ enum class CreateCredentialOfferAPIVersion {
credentialDefinitionId: UUID,
claims: Map<String, Any>,
connectionId: UUID,
validityPeriod: Double?
validityPeriod: Double?,
) = CreateIssueCredentialRecordRequest(
connectionId = connectionId,
credentialFormat = credentialType.format,
automaticIssuance = false,
anoncredsVcPropertiesV1 =
AnonCredsVCPropertiesV1(
anoncredsVcPropertiesV1 = AnonCredsVCPropertiesV1(
issuingDID = did,
credentialDefinitionId = credentialDefinitionId,
claims = claims,
validityPeriod = validityPeriod ?: 3600.0,
)
),
)
},
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ enum class CredentialClaims {
},
ANONCREDS_STUDENT_CLAIMS {
override val claims: Map<String, Any> = linkedMapOf(
"name" to "Bob",
"age" to "21",
"sex" to "M",
"name" to "Bob",
"age" to "21",
"sex" to "M",
)
}
},
;

abstract val claims: Map<String, Any>
Expand Down

0 comments on commit 4df776d

Please sign in to comment.