Skip to content

Commit

Permalink
fix(IT Wallet): [SIW-730] Fix credential issuance error not shown (#5300
Browse files Browse the repository at this point in the history
)

## Short description
This PR fixes an error which prevents the UI to show an error view while
issuing a credential.
The issue is cased by a wrong dispatched action.

## List of changes proposed in this pull request
- Replaces the wrong action with the right one.

## How to test
Static checks.
  • Loading branch information
LazyAfternoons committed Dec 5, 2023
1 parent 52b377d commit fa7d5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/features/it-wallet/saga/new/itwIssuanceSaga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function* handleIssuanceGetCredential(): SagaIterator {
} catch (e) {
const res = toError(e);
yield* put(
itwIssuanceChecks.failure({
itwIssuanceGetCredential.failure({
code: ItWalletErrorTypes.CREDENTIAL_CHECKS_GENERIC_ERROR,
message: res.message
})
Expand Down

0 comments on commit fa7d5ac

Please sign in to comment.