Skip to content

Commit

Permalink
fix(core): requested predicates transform type (#393)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Jul 19, 2021
1 parent 34a6ff2 commit 69684bc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { IndyRequestedCredentials } from 'indy-sdk'

import { Expose, Type } from 'class-transformer'
import { Expose } from 'class-transformer'
import { ValidateNested } from 'class-validator'

import { JsonTransformer } from '../../../utils/JsonTransformer'
Expand Down Expand Up @@ -36,7 +36,6 @@ export class RequestedCredentials {

@Expose({ name: 'requested_predicates' })
@ValidateNested({ each: true })
@Type(() => RequestedPredicate)
@RecordTransformer(RequestedPredicate)
public requestedPredicates!: Record<string, RequestedPredicate>

Expand Down

0 comments on commit 69684bc

Please sign in to comment.