diff --git a/lib/npdynamodb.js b/lib/npdynamodb.js index 6b09d20..220cc9c 100644 --- a/lib/npdynamodb.js +++ b/lib/npdynamodb.js @@ -12,7 +12,7 @@ function npdynamodb(clients, options){ } module.exports = function(dynamodb, options){ - var v = dynamodb.config.apiVersion, + var v = dynamodb.config.apiVersion || '2012-08-10', api = require('./dialects/' + v + '/' + 'api') ;