From 530556a2cd882a3fb36c746a60c4e591c408d6cb Mon Sep 17 00:00:00 2001 From: Kyle Smith Date: Wed, 18 Jan 2017 15:55:41 -0600 Subject: [PATCH] fix: ensure defaultTable is properly set to options.table --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5af85ac..e6b0c01 100644 --- a/index.js +++ b/index.js @@ -364,7 +364,7 @@ function Dyno(options) { } // Glue everything together - return _({ config: config, defaultTable: options.tableName }).extend(nativeFunctions, dynoExtensions); + return _({ config: config, defaultTable: options.table }).extend(nativeFunctions, dynoExtensions); } /**