From a7635fc408983bf183244ec33ac4049c279520c8 Mon Sep 17 00:00:00 2001 From: Andrew Peebles Date: Fri, 16 Dec 2016 16:18:50 -0800 Subject: [PATCH] issue #67: remove smartResponse check --- lib/ddb.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/ddb.js b/lib/ddb.js index 4cae9fc..bf111a1 100644 --- a/lib/ddb.js +++ b/lib/ddb.js @@ -492,13 +492,7 @@ var ddb = function(spec, my) { } } my.consumedCapacity += consumedCapacity; - if (parts.length == 1) { - var smartResponse = res.Responses[table]; - cb(null, smartResponse, consumedCapacity); - } - else { - cb(null, res.Responses, consumedCapacity); - } + cb(null, res.Responses, consumedCapacity); } }); };