Fixed typo.

This commit is contained in:
Matteo Padovano 2015-10-13 12:59:17 +02:00
parent 3ba31d9c18
commit 89939cff52
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ Transaction.prototype.rollback = function(cb) {
* @param cb * @param cb
*/ */
Transaction.begin = function(connector, options, cb) { Transaction.begin = function(connector, options, cb) {
if (typeof isolationLevel === 'function' && cb === undefined) { if (typeof options === 'function' && cb === undefined) {
cb = options; cb = options;
options = {}; options = {};
} }