Skip to content

Commit

Permalink
style: apply linters automatic fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Hyperledger Bot <[email protected]>
  • Loading branch information
hyperledger-bot committed Jan 20, 2025
1 parent d54a18d commit bce7e57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ enum class CreateCredentialOfferAPIVersion {
credentialDefinitionId: UUID,
claims: Map<String, Any>,
connectionId: UUID,
validityPeriod: Double?
validityPeriod: Double?,
) = CreateIssueCredentialRecordRequest(
connectionId = connectionId,
credentialFormat = credentialType.format,
Expand All @@ -141,7 +141,7 @@ enum class CreateCredentialOfferAPIVersion {
credentialDefinitionId = credentialDefinitionId,
claims = claims,
validityPeriod = validityPeriod ?: 3600.0,
)
),
)
},
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +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>
}

0 comments on commit bce7e57

Please sign in to comment.