Uh oh!
There was an error while loading. Please reload this page.
fix(api): recover the original result on a retried approval decision - #110
Conversation
Asaf-prog
commented
Aug 20, 2026
Thanks for the fix — the overall approach looks correct, and recovering the already-processed result is consistent with the existing One issue I think we should address before merging: If That means the recovery path currently bypasses the API's existing error sanitization behavior. I suggest adding an It would also be good to add a test where
Other than that, the change looks good to me. |
Rsakhuja
commented
Aug 21, 2026
Hi. That makes sense. I updated the PR to include the |
Uh oh!
There was an error while loading. Please reload this page.
Fixes#109
Catches
ApprovalAlreadyProcessedexception and recovers the original result in order to avoid returning a 409 error when a duplicate request is made.