pagopa / io-app

IO, l'app dei servizi pubblici
https://io.italia.it
European Union Public License 1.2
567 stars 97 forks source link

chore: [IOBP-591] Removed 401 failure handlers to the payments requests features #5716

Closed Hantex9 closed 3 weeks ago

Hantex9 commented 3 weeks ago

Short description

This PR removes the 401 failure handlers from the entire payments features to let the withRefreshApiCall handle this kind of status failure.

List of changes proposed in this pull request

How to test

Run the io-dev-app-server enabling LV with a short expiration time and then try to perform any action on the new payments sections (such as onboarding, checkout, etc.). You should be able to renew the session without showing a failure screen after renewing it.

pagopa-github-bot commented 3 weeks ago

Affected stories

Generated by :no_entry_sign: dangerJS against 4bfc2343479ecc6606b22e7e0807f1f50ac1cb34