Skip to content

Commit

Permalink
Use renamed initialization keys
Browse files Browse the repository at this point in the history
  • Loading branch information
phisakel committed Nov 24, 2023
1 parent d593632 commit f701027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/eudi-lib-ios-wallet-kit/EudiWallet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public final class EudiWallet: ObservableObject {
if let docType { guard docs.count > 0 else { throw WalletError(description: "No documents of type \(docType) found") } }
let cborsWithKeys = docs.compactMap { $0.getCborData() }
guard cborsWithKeys.count > 0 else { throw WalletError(description: "Documents decode error") }
parameters = [InitializeKeys.document_signup_response_data.rawValue: cborsWithKeys.map(\.dr), InitializeKeys.device_private_key.rawValue: cborsWithKeys.first!.dpk]
parameters = [InitializeKeys.document_signup_response_obj.rawValue: cborsWithKeys.map(\.dr), InitializeKeys.device_private_key_obj.rawValue: cborsWithKeys.first!.dpk]
if let trustedReaderCertificates { parameters[InitializeKeys.trusted_certificates.rawValue] = trustedReaderCertificates }
default:
fatalError("jwt format not implemented")
Expand Down

0 comments on commit f701027

Please sign in to comment.