We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d4add commit 7f5cbc8Copy full SHA for 7f5cbc8
src/services/pushToDynamoDb.js
@@ -18,7 +18,7 @@ async function pushToDynamoDb(payload) {
18
timestamp: Date.now()
19
}
20
21
- var docClient = new AWS.DynamoDB.DocumentClient({region: 'us-east-1'});
+ var docClient = new AWS.DynamoDB.DocumentClient({region: 'us-east-1',convertEmptyValues: true});
22
docClient.put(params, function(err, data) {
23
if (err) logger.error(err);
24
else logger.info(data);
0 commit comments