Skip to content

Commit

Permalink
Correct format for deferred credential
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Mar 21, 2024
1 parent 516c9c0 commit 7e58f0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,6 @@ class QRCodeScanCubit extends Cubit<QRCodeScanState> {
credential: selectedCredentials[i],
isLastCall: i + 1 == selectedCredentials.length,
issuer: issuer,
profileCubit: profileCubit,
jwtDecode: jwtDecode,
blockchainType: walletCubit.state.currentAccount!.blockchainType,
deferredCredentialEndpoint: deferredCredentialEndpoint,
Expand Down
3 changes: 1 addition & 2 deletions lib/oidc4vc/add_credential_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Future<void> addCredentialData({
required String format,
required OpenIdConfiguration? openIdConfiguration,
required SecureStorageProvider secureStorageProvider,
required ProfileCubit profileCubit,
required CredentialsCubit credentialsCubit,
required String scannedResponse,
required dynamic credential,
Expand Down Expand Up @@ -56,7 +55,7 @@ Future<void> addCredentialData({
),
data: const {},
jwt: null,
format: 'jwt_vc',
format: format,
image: '',
shareLink: '',
pendingInfo: PendingInfo(
Expand Down

0 comments on commit 7e58f0f

Please sign in to comment.