Comparing version 6.1.1 to 6.1.2
@@ -117,6 +117,8 @@ 'use strict'; | ||
const diag = { items, options }; | ||
Id.wrap(this, items, (err, wrapped) => { | ||
if (err) { | ||
return this._error('insert', err, items, callback); | ||
return this._error('insert', err, diag, callback); | ||
} | ||
@@ -127,6 +129,6 @@ | ||
if (err) { | ||
return this._error('insert', err, items, callback); | ||
return this._error('insert', err, diag, callback); | ||
} | ||
this._run(this._table.insert(wrapped, { conflict: options.merge ? 'update' : 'error' }), 'insert', wrapped, callback, (ignore, result) => { | ||
this._run(this._table.insert(wrapped, { conflict: options.merge ? 'update' : 'error' }), 'insert', diag, callback, (ignore, result) => { | ||
@@ -133,0 +135,0 @@ // Single item |
{ | ||
"name": "penseur", | ||
"description": "Lightweight RethinkDB wrapper", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/penseur", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190223
4543