Skip to content

Commit

Permalink
Merge pull request #25 from niscy-eudiw/fix/presentation-source-fix
Browse files Browse the repository at this point in the history
Presentation source fix
  • Loading branch information
dtsiflit authored Oct 14, 2024
2 parents 02ce0c9 + 1a41866 commit bf9396b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public enum PresentationDefinitionSource {

public extension PresentationDefinitionSource {
init(authorizationRequestObject: JSON) throws {
if let presentationDefinitionObject = authorizationRequestObject[Constants.PRESENTATION_DEFINITION].dictionary {
if let presentationDefinitionObject = authorizationRequestObject[Constants.PRESENTATION_DEFINITION].dictionaryObject {

let jsonData = try JSONSerialization.data(withJSONObject: presentationDefinitionObject, options: [])
let presentationDefinition = try JSONDecoder().decode(PresentationDefinition.self, from: jsonData)
Expand Down

0 comments on commit bf9396b

Please sign in to comment.