Skip to content

Commit

Permalink
fix: invalid injection symbols in W3cCredService (#786)
Browse files Browse the repository at this point in the history
Signed-off-by: Karim <[email protected]>
  • Loading branch information
karimStekelenburg authored and TimoGlastra committed Jun 15, 2022
1 parent 62172fc commit b0ec511
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core/src/modules/vc/W3cCredentialService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { inject, Lifecycle, scoped } from 'tsyringe'
import jsonld, { documentLoaderNode, documentLoaderXhr } from '../../../types/jsonld'
import vc from '../../../types/vc'
import { AgentConfig } from '../../agent/AgentConfig'
import { InjectionSymbols } from '../../constants'
import { createWalletKeyPairClass } from '../../crypto/WalletKeyPair'
import { deriveProof } from '../../crypto/signature-suites/bbs'
import { AriesFrameworkError } from '../../error'
Expand Down Expand Up @@ -44,11 +45,11 @@ export class W3cCredentialService {
private suiteRegistry: SignatureSuiteRegistry

public constructor(
@inject('Wallet') wallet: Wallet,
@inject(InjectionSymbols.Wallet) wallet: Wallet,
w3cCredentialRepository: W3cCredentialRepository,
didResolver: DidResolverService,
agentConfig: AgentConfig,
logger: Logger
@inject(InjectionSymbols.Logger) logger: Logger
) {
this.wallet = wallet
this.w3cCredentialRepository = w3cCredentialRepository
Expand Down

0 comments on commit b0ec511

Please sign in to comment.