Closed mjamescompton closed 1 week ago
Nice. Is this behavior more generic across the Console? I've noticed it while deleting devices I think (don't have a screenshot for now).
@KrishnaIyer This particular issue only happened in this case. The device delete might be a different issue
Isn't the promise logic the same? Basically do a DELETE
and then a GET
(list)?
I search the repo for any other examples of attachPromise(dispatch
and did not find any. Similar issues might be something else.
yes, but in this case the issue was that we were attaching the promise in the wrong place: attachPromise(dispatch(request))
, when it should be dispatch(attachPromise(request))
. The promise should be attached to the request and not the dispatch. I did a global search in the code base for places where we attach the promise in the wrong place and this was the only place.
@mjamescompton Please also the check the ci before merging
Summary
Close #7350
Changes
attachPromise
inside dispatchTesting
Steps
Open the console at /console/user-settings/authorizations Click on one of the clients and click Revoke authorization
Results
Regressions
...
Notes for Reviewers
https://github.com/user-attachments/assets/e9ddda7c-a475-4f6a-9d40-f581327ce425
Checklist
README.md
for the chosen target branch.CHANGELOG.md
.CONTRIBUTING.md
, there are no fixup commits left.