From 52efac96bcf64ea948a8f13282a983da5c9ac0d8 Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Fri, 5 Aug 2011 14:29:52 -0600 Subject: [PATCH] fix a typo in db config handling --- browserid/lib/db_mysql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browserid/lib/db_mysql.js b/browserid/lib/db_mysql.js index eec4eefd3..1b22bba1f 100644 --- a/browserid/lib/db_mysql.js +++ b/browserid/lib/db_mysql.js @@ -65,7 +65,7 @@ exports.open = function(cfg, cb) { }; Object.keys(defParams).forEach(function(param) { - client[param] = cfg[param] ? cfg.param : defParams[param]; + client[param] = cfg[param] ? cfg[param] : defParams[param]; }); // let's figure out the database name -- GitLab