Merge pull request #30 from mrbatista/typo-transaction

Fixed typo
This commit is contained in:
Raymond Feng 2015-11-23 15:07:35 -08:00
commit cbb25cc37f
1 changed files with 1 additions and 1 deletions

View File

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