dynamodb-recs
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -25,3 +25,6 @@ const _ = require('lodash'); | ||
if (apiGateway) { | ||
return event = _.extend({}, event.queryStringParameters || {}); | ||
return event = _.extend({}, | ||
event.body || {}, | ||
event.queryStringParameters || {} | ||
); | ||
} | ||
@@ -28,0 +31,0 @@ |
@@ -94,8 +94,13 @@ const chai = require('chai'); | ||
expect(proxyIntegration({ | ||
body: { | ||
a: 1, | ||
b: 1 | ||
}, | ||
queryStringParameters: { | ||
a: 1 | ||
a: 2 | ||
}, | ||
b: 1 | ||
}, true)).to.deep.equal({ | ||
a: 1 | ||
a: 2, | ||
b: 1 | ||
}); | ||
@@ -102,0 +107,0 @@ }); |
{ | ||
"name": "dynamodb-recs", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73570
2047