Skip to content

Commit

Permalink
Merge pull request #757 from jormaechea/Issue-756-responseParameters-…
Browse files Browse the repository at this point in the history
…bugfix

Response parameters bug fix
  • Loading branch information
dnalborczyk committed Jul 25, 2019
2 parents 88fecc4 + 83b60ac commit afa68d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -585,6 +585,6 @@ We try to follow [Airbnb's JavaScript Style Guide](https://github.com/airbnb/jav
| :------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------: |
| [lteacher](https://github.com/lteacher) | [martinmicunda](https://github.com/martinmicunda) | [nori3tsu](https://github.com/nori3tsu) | [ppasmanik](https://github.com/ppasmanik) | [ryanzyy](https://github.com/ryanzyy) |

| [<img alt="constb" src="https://avatars3.githubusercontent.com/u/1006766?v=4&s=117" width="117">](https://github.com/constb) |
| :--------------------------------------------------------------------------------------------------------------------------: |
| [constb](https://github.com/constb) |
| [<img alt="constb" src="https://avatars3.githubusercontent.com/u/1006766?v=4&s=117" width="117">](https://github.com/constb) | [<img alt="jormaechea" src="https://avatars3.githubusercontent.com/u/5612500?v=4&s=117" width="117">](https://github.com/jormaechea) |
| :--------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: |
| [constb](https://github.com/constb) | [jormaechea](https://github.com/jormaechea) |
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -89,6 +89,7 @@
"Jaryd Carolin (https://github.com/horyd)",
"Jeff Hall (https://github.com/electrikdevelopment)",
"jgilbert01 (https://github.com/jgilbert01)",
"Joaquin Ormaechea (https://github.com/jormaechea)",
"John McKim (https://github.com/johncmckim)",
"Jonas De Kegel (https://github.com/jlsjonas)",
"Joost Farla (https://github.com/joostfarla)",
Expand Down
2 changes: 1 addition & 1 deletion src/ApiGateway.js
Expand Up @@ -636,7 +636,7 @@ module.exports = class ApiGateway {
);

// responseParameters use the following shape: "key": "value"
Object.entries(responseParametersKeys).forEach(
Object.entries(responseParameters).forEach(
([key, value]) => {
const keyArray = key.split('.'); // eg: "method.response.header.location"
const valueArray = value.split('.'); // eg: "integration.response.body.redirect.url"
Expand Down

0 comments on commit afa68d0

Please sign in to comment.