Skip to content

Commit

Permalink
fix the compilation issues
Browse files Browse the repository at this point in the history
Signed-off-by: mineme0110 <shailesh.patil@iohk.io>
  • Loading branch information
mineme0110 committed May 8, 2024
1 parent 9960646 commit ec0f322
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ object IssueBackgroundJobs extends BackgroundJobsHelper {
credentialService <- ZIO.service[CredentialService]
config <- ZIO.service[AppConfig]
_ <- credentialService
.generateSDJWTCredential(id, config.pollux.statusListRegistry.publicEndpointUrl.toExternalForm)
.generateSDJWTCredential(id)
.provideSomeLayer(ZLayer.succeed(walletAccessContext))
} yield ()).mapError(e => (walletAccessContext, e))
} yield result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ private class CredentialServiceImpl(
} yield record
}

override def generateJWTCredentialRequest(
override def generateSDJWTCredentialRequest(
recordId: DidCommID
): ZIO[WalletAccessContext, CredentialServiceError, IssueCredentialRecord] = {
???
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ object SDJWTSpec extends ZIOSpecDefault {
override def spec = suite("SDJWTRawSpec")(
test("issue credential") {
val credential = SDJWT.issueCredential(ISSUER_KEY, CLAIMS)
println("*******************************")
println(credential.value)
println("*******************************")
assertTrue(!credential.value.isEmpty())
},
test("make presentation") {
Expand Down

0 comments on commit ec0f322

Please sign in to comment.