Skip to content

Commit

Permalink
[cascading] from release/11.0.0-rc to main (#1954)
Browse files Browse the repository at this point in the history
<!--
{"currentBranch":"release/11.0.0-rc","targetBranch":"main","bypassReviewers":true,"isConflicting":false}
-->

## Cascading from release/11.0.0-rc to main

The configuration requests the cascading to bypass reviewer in case of
CI success.
To not bypass the reviewing process, please check the following
checkbox:

- [ ] <!-- !cancel bypass! --> 🚫 stop reviewing process
bypass for this Pull Request

---

<small>This Pull Request has been generated with ❤️ by the
[Otter](https://github.com/AmadeusITGroup/otter) cascading tool.</small>
  • Loading branch information
fpaul-1A authored Jul 8, 2024
2 parents 9e984e8 + 3721894 commit 9202d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ama-sdk/core/src/fwk/api.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function getResponseReviver<T>(revivers: { [statusCode: number]: ReviverT
if (typeof revivers === 'function' || typeof revivers === 'undefined') {
return revivers;
}
if (response.status && revivers[response.status]) {
if (response.status && Object.keys(revivers).indexOf(`${response.status}`) > -1) {
return revivers[response.status];
}
if (options?.disableFallback) {
Expand Down

0 comments on commit 9202d02

Please sign in to comment.