Skip to content

Commit

Permalink
Merge pull request #55 from Financial-Times/matth/fix-batch-get
Browse files Browse the repository at this point in the history
Fix batch get method access to active connections, fixes #54
  • Loading branch information
i-like-robots authored Mar 2, 2018
2 parents 19cf99c + f4df271 commit 01de3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ exports.batchGet = fromURLs => {
}
});

const dynamo = dynamos[active()];
const dynamo = dynamos.get([active()]);
return batchGet({
dynamo: dynamo.instance,
table: dynamo.table,
Expand Down

0 comments on commit 01de3c0

Please sign in to comment.