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 <karim@animo.id>
  • Loading branch information
karimStekelenburg authored and TimoGlastra committed Jul 3, 2022
1 parent c12f0bf commit b1c9749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/modules/vc/W3cCredentialService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import type { VerifyPresentationResult } from './models/presentation/VerifyPrese

import jsonld, { documentLoaderNode, documentLoaderXhr } from '../../../types/jsonld'
import vc from '../../../types/vc'
import { InjectionSymbols } from '../../constants'
import { createWalletKeyPairClass } from '../../crypto/WalletKeyPair'
import { deriveProof } from '../../crypto/signature-suites/bbs'
import { AriesFrameworkError } from '../../error'
Expand All @@ -38,7 +39,7 @@ export class W3cCredentialService {
private suiteRegistry: SignatureSuiteRegistry

public constructor(
@inject('Wallet') wallet: Wallet,
@inject(InjectionSymbols.Wallet) wallet: Wallet,
w3cCredentialRepository: W3cCredentialRepository,
didResolver: DidResolverService
) {
Expand Down

0 comments on commit b1c9749

Please sign in to comment.