Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Aug 16, 2016
1 parent 28f8037 commit 0204da2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datastore/concepts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ function transferFunds (fromKey, toKey, amount, callback) {
], function (err, accounts) {
if (err) {
return transaction.rollback(function (_err) {
return callback(err || _err);
return callback(_err || err);
});
}

Expand Down Expand Up @@ -1223,7 +1223,7 @@ Transaction.prototype.testTransactionalGetOrCreate = function (callback) {
if (err) {
// An error occurred while getting the values.
return transaction.rollback(function (_err) {
return callback(err || _err);
return callback(_err || err);
});
}

Expand Down Expand Up @@ -1310,7 +1310,7 @@ Transaction.prototype.testSingleEntityGroupReadOnly = function (callback) {
datastore.get(taskListKey, function (err) {
if (err) {
return transaction.rollback(function (_err) {
return callback(err || _err);
return callback(_err || err);
});
}

Expand All @@ -1321,7 +1321,7 @@ Transaction.prototype.testSingleEntityGroupReadOnly = function (callback) {
if (err) {
// An error occurred while running the query.
return transaction.rollback(function (_err) {
return callback(err || _err);
return callback(_err || err);
});
}

Expand Down

0 comments on commit 0204da2

Please sign in to comment.