Skip to content

Commit

Permalink
Merge b091f5e into 48d5718
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Barba committed Oct 29, 2019
2 parents 48d5718 + b091f5e commit 3c649be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.js
Expand Up @@ -75,7 +75,7 @@ class REQUEST {
'queryStringParameters' in this.app._event ? {} // do nothing
: Object.keys(Object.assign({},this.app._event.multiValueQueryStringParameters))
.reduce((qs,key) => Object.assign(qs, // get the last value of the array
{ [key]: this.app._event.multiValueQueryStringParameters[key].slice(-1)[0] }
{ [key]: decodeURIComponent(this.app._event.multiValueQueryStringParameters[key].slice(-1)[0]) }
), {})
)

Expand Down

0 comments on commit 3c649be

Please sign in to comment.