Skip to content

Commit

Permalink
fix: remove check for DifPresentationExchangeService dependency (#1702)
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
  • Loading branch information
sairanjit authored Jan 28, 2024
1 parent 60c51c2 commit 93d9d8b
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ export class PresentationExchangeProofFormatService implements ProofFormatServic
public readonly formatKey = 'presentationExchange' as const

private presentationExchangeService(agentContext: AgentContext) {
if (!agentContext.dependencyManager.isRegistered(DifPresentationExchangeService)) {
throw new AriesFrameworkError(
'DifPresentationExchangeService is not registered on the Agent. Please provide the PresentationExchangeModule as a module on the agent'
)
}

return agentContext.dependencyManager.resolve(DifPresentationExchangeService)
}

Expand Down

0 comments on commit 93d9d8b

Please sign in to comment.