Fixed typo.
This commit is contained in:
parent
3ba31d9c18
commit
89939cff52
|
@ -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 = {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue