Skip to content

Commit

Permalink
fix: remove unneeded split
Browse files Browse the repository at this point in the history
  • Loading branch information
willfarrell committed Nov 5, 2018
1 parent 42a5713 commit 0e3bf8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const request = (handler, next) => {
Object.keys(handler.event.queryStringParameters)
.filter(key => !disallowed.includes(key.split('[')[0]))
.forEach(key => {
params[key] = handler.event.queryStringParameters[key].split(',')
params[key] = handler.event.queryStringParameters[key]
})

handler.event.queryStringParameters = params
Expand Down

0 comments on commit 0e3bf8f

Please sign in to comment.