Skip to content

Commit

Permalink
feat(prism-agent): Added connectionId to the request Presentation and…
Browse files Browse the repository at this point in the history
  • Loading branch information
mineme0110 committed Mar 10, 2023
1 parent e28cdb3 commit 1d04156
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 345 deletions.
51 changes: 0 additions & 51 deletions prism-agent/service/connect.md

This file was deleted.

50 changes: 0 additions & 50 deletions prism-agent/service/did.md

This file was deleted.

118 changes: 0 additions & 118 deletions prism-agent/service/issue.md

This file was deleted.

125 changes: 0 additions & 125 deletions prism-agent/service/present-proof.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import io.iohk.atala.pollux.core.model._
import io.iohk.atala.mercury.model.Base64
import cats.instances.option
import io.iohk.atala.pollux.core.model.presentation.Options
import io.iohk.atala.agent.openapi.model.PublicKeyJwk

class PresentProofApiServiceImpl(presentationService: PresentationService, connectionService: ConnectionService)(using
runtime: Runtime[Any]
Expand All @@ -48,7 +49,7 @@ class PresentProofApiServiceImpl(presentationService: PresentationService, conne
.createPresentationRecord(
thid = DidCommID(),
subjectDid = didId,
connectionId = None,
connectionId = Some(requestPresentationInput.connectionId),
proofTypes = requestPresentationInput.proofs.map { e =>
ProofType(
schema = e.schemaId, // TODO rename field to schemaId
Expand Down

0 comments on commit 1d04156

Please sign in to comment.