Skip to content

Commit

Permalink
fix: Call ._write with correct arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kesla committed Aug 10, 2013
1 parent 5143ece commit 1f101c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abstract-chained-batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ AbstractChainedBatch.prototype.write = function (options, callback) {
this._written = true

if (typeof this._write == 'function' )
return this._write(options, callback)
return this._write(callback)

if (typeof this._db._batch == 'function')
return this._db._batch(this._operations, options, callback)
Expand Down

0 comments on commit 1f101c3

Please sign in to comment.